- or download this
...
| |
/------------\
- or download this
#/usr/bin/perl -Wl
...
print Dumper($reresult);
}else{ print " badstring\n"}
}
- or download this
startrule: commandline{$item{commandline}}
commandline: command options {[$item {command},$item{options}]}
...
option: optionflag optionvalue { [$item{optionflag}, $item{optionvalue
+}?$item{optionvalue}:1] }
optionflag: /(-\w+)/ { $1 }
optionvalue: /(\w*)/ { $1 }
- or download this
hap -b
hap -b sknxharvest01
...
hap -prompt
hap -b sknxharvest01 -prompt
hap -prompt -b sknxharvest01
- or download this
C:\chas_sandbox\grammars>grammarharness.pl packagegrammar.txt packagec
+ommands.tx
t
...
C:\chas_sandbox\grammars>