man(1) Manual page archive


     RCHISTORY(1)                                         RCHISTORY(1)

     NAME
          -, -p - rc history

     SYNOPSIS
          - pattern
          -p pattern

     DESCRIPTION
          Rchistory matches and prints (-p) or matches and executes
          (-) commands in the file pointed to by the environment vari-
          able history. All arguments are concatinated with spaces and
          matched as a fixed string.

     EXAMPLE
          Inspect the last invocation of mkfs(1).

          ; -p mkfs
          disk/mkfs -pvd . -s /n/coraid/usr/quanstro/src/cmd/ /tmp/proto

     SOURCE
          /sys/src/cmd/rchistory/rchistory.c

     SEE ALSO
          rc(1),