diff options
| author | Paul Buetow <paul@buetow.org> | 2011-01-14 12:09:17 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2011-01-14 12:09:17 +0000 |
| commit | 88d5a6f6a1d620b6f3f600c7057cf26591bae559 (patch) | |
| tree | e4156e98a7a24392bbf7b2bb6c1dbf52a0693493 /pwgrep.sh | |
| parent | 1e2a9662b78e925a845df439fedeec47e36e891e (diff) | |
pwhelp prints version
Diffstat (limited to 'pwgrep.sh')
| -rwxr-xr-x | pwgrep.sh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -42,6 +42,10 @@ function source_config () { fi } +function pwgrep_version () { + sed -n '/# pwgrep v/ { s/# //; p; q; }' $0 +} + function configure () { # Reading the current configuration source_config @@ -247,6 +251,7 @@ function fwipe () { } function pwhelp () { + info $(pwgrep_version) info Possible operations are: cat <<END fwipe <FILE> - Wiping a file |
