SUSv2 Utilities Synopsis by McBusLuck

while read r;do
case $r in
du)s='Y[-a| -s][-kx][-r][*file* ...]';;
cc)s='Y[-c][-C][-e *epsym*] [-D *name*[=value]]... [-E][-f][-F][-g]
[-I *directory*]... [-L *directory*]... [-o *outfile*][-O][-p][-P]
[-q][-r][-s][-S][-u *symname*]... [-U *name*]... [-W *options*]... *operand*...';;
xargs)s='Y[-t][-p][-e[*eofstr*]][-E *eofstr*][-I *replstr*][-i[*replstr*]]
[-L *number*][-l[*number*]][-n *number *[-x]][-s *size*][*utility *[*argument*...]]';;
val)s='Y-
Y[-s][-m *name*][-r *SID*][-y *type*]* file*...';;
ar)s='Y-d[-v][-l]* archive file* ...
Y-m[-abilv][*posname*]* archive file* ...
Y-p[-v][-s]*archive* [*file* ...]
Y-q[-clv] *archive file* ...
Y-r[-cuv][-abil][*posname*]*archive file* ...
Y-t[-v][-s]*archive *[*file* ...]
Y-x[-v][-sCT]*archive *[*file* ...]';;
who)s='Y[-mu]-s[-bHlprt][*file*]
Y[-mTu][-abdHlprt][*file*]
Y-q [*file*]
Yam i
Yam I';;
prs)s='Y[-a][-d *dataspec*][-r[*SID*]]* file*...
Y[ -e| -l] -c *cutoff *[-d *dataspec*]* file*...
Y[ -e| -l] -r[*SID*][-d *dataspec*]*file*...';;
ln)s='Y[-f] *source_file target_file*
Y[-f] *source_file*... *target_dir*';;
locale)s='Y[ -a| -m]
Y[-ck] *name*...';;
yacc)s='Y[-dltv][-b *file_prefix*][-p *sym_prefix*]* grammar*';;
zcat)s='Y[*file*...]';;
pack)s='Y[-f][-] *file*...';;
df)s='Y[-k][ -P|-t][*file*...]';;
dd)s='Y[*operand* ...]';;
dis)s='Y[-oLV][-F *function*]... [-l *string*]* file*...';;
fgrep)s='Y[ -c| -l][-invx] -e *pattern_list *[*file*...]
Y[ -c| -l][-invx] -f *pattern_list *[*file*...]
Y[ -c| -l][-invx] *pattern_list *[*file*...]';;
grep)s='Y[ -E| -F][ -c| -l| -q ][-insvx] -e *pattern_list...
*[-f *pattern_file*]...[*file*...]
Y[ -E| -F][ -c| -l| -q ][-insvx][-e *pattern_list...
*-f *pattern_file*...[*file*...]
Y[ -E| -F][ -c| -l| -q ][-insvx] *pattern_list*[*file*...]';;
egrep)s='Y[ -c| -l][-inv] -e *pattern_list *[*file*...]
Y[ -c| -l][-inv] -f *pattern_list *[*file*...]
Y[ -c| -l][-inv] *pattern_list *[*file*...]';;
admin)s='Y-i[*name*][-n][-a *login*][-d *flag*][-f *flag*][-m *mrlist*]
[-r *rel*][-t[*name*][-y[*comment*]] *newfile*
Y*-n*[-a *login*][-d *flag*][-f *flag*][-m *mrlist*][-t[*name*]][-y[*comment*]]
*newfile* ... 
Y[-a *login*][-d *flag*][-m *mrlist*][-r *rel*][-t[*name*]]
*file* ... 
Y-h *file* ... 
Y-z *file* ... 
Y-i[*name*][-n][-a *login*][-d *flag*][-f *flag*][-m *mrlist*]
[-r *rel*][-t[*name*][-y[*comment*]] *newfile*
Y*-n*[-a *login*][-d *flag*][-f *flag*][-m *mrlist*][-t[*name*]][-y[*comment*]]
*newfile* ... 
Y[-a *login*][-d *flag*][-m *mrlist*][-r *rel*][-t[*name*]]
*file* ... 
Y-h *file* ... 
Y-z *file* ... ';;
sh)s='Y[-abCefimnuvx][-o *option*][+abCefmnuvx][+o *option*]
[*command_file *[*argument*...]]
Y-c [-abCefimnuvx][-o *option*][+abCefmnuvx][+o *option*]*command_string
*[*command_name *[*argument*...]]
Y-s[-abCefimnuvx][-o *option*][+abCefmnuvx][+o *option*][*argument*]';;
c89)s='Y[-c][-D *name*[=*value*]]...[-E][-g][-I *directory*] ... [-L *directory*]
... [-o *outfile*][-O][-s][-U *name*] ... *operand* ...';;
bc)s='Y[-l] [*file* ...]';;
pax)s='Y[-cdnv][-f *archive*][-s *replstr*]...[*pattern*...]
Y-r[-cdiknuv][-f *archive*][-o *options*]...[-p *string*]...
[-s *replstr*]...[*pattern*...]
Y-w[-dituvX][-b *blocksize*][[-a][-f *archive*][-o *options*]...
[-s *replstr*]...[-x *format*][*file*...]
Y-r -w[-diklntuvX][-p *string*]...[-s *replstr*]...[*file*...]*
directory
-s /*old*/*new*/[gp]';;
uniq)s='Y[-c|-d|-u][-f *fields*][-s *char*][*input_file *[*output_file*]]
Y[-c|-d|-u][-*n*][+*m*][*input_file *[*output_file*]]';;
dirname)s='Y*string*';;
rm)s='Y[-fiRr]* file*...';;
hash)s='Y[*utility*...]';;
date)s='Y[-u] [+*format*]
Y[-u] *mmddhhmm*[[*cc*]*yy*] ';;
read)s='Y[-r]* var*...';;
expr)s='Y*operand*';;
mail)s='Y[-e] [-f *file*]
Y[-e| -p][-qr][-f *file*]
Y[-t]* name* ...';;
gencat)s='Y*catfile msgfile*...';;
ed)s='Y[-p *string*][-s][*file*]
Y[-p *string*][-][*file*]';;
fort77)s='Y[-c][-g][-L *directory*]... [-O *optlevel*][-o *outfile*][-s][-w]
*operand*...';;
localedef)s='Y[-c][-f *charmap*][-i *sourcefile*]* name*';;
fc)s='Y[-r][-e *editor*] [*first*[*last*]]
Y-l[-nr] [*first*[*last*]]
Y-s[*old*=*new*][*first*]
fg [*job_id*]';;
esac
echo "${s//Y/$r }"
done

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page