I want to have a variable in tcsh to store usage information for my script, so in my script, whenever I write echo $ usage, it prints
my_script
-h : -help
-b : do boo
etc`.
Is there any way to do this? Can this be done using <EOF?
I tried something like this, but this failed:
set help = << EOF
my_script
-h : print help
-b : do boo
EOF
thank
source
share