-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#! /usr/bin/env csh | ||
# | ||
# new 2023 style (t)csh - works with tkrun now | ||
|
||
set file1 = foo # help for input file1 #> IFILE file1= | ||
set file2 = bar # help for output file2 #> OFILE file2= | ||
set dir3 = fum # help for input dir3 #> IDIR dir3= | ||
set dir4 = baz # help for output dir4 #> ODIR dir4= | ||
set hello = world # help for text entry hello #> ENTRY hello=world | ||
set a = 1 # help for a, between 0 and 2 #> SCALE a=1 0:2:0.1 | ||
set b = 2 # help for b, pick 1, 2 or 3 #> RADIO b=2 0,1,2 | ||
set c = 3 # help for c, check any of 6 #> CHECK c=3 0,1,2,a,b,c | ||
|
||
# | ||
foreach _arg ($*) | ||
set $_arg | ||
end | ||
|
||
echo file1=$file1 | ||
echo file2=$file2 | ||
echo dir3=$dir3 | ||
echo dir4=$dir4 | ||
echo hello=$hello | ||
echo a=$a | ||
echo b=$b | ||
echo c=$c |