Skip to content

Commit

Permalink
proper example
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jul 28, 2023
1 parent 6fb8861 commit 7cfe9a1
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions example1.csh
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
#! /usr/bin/env csh
#
# OLD (t)csh
# new 2023 style (t)csh - works with tkrun now

set file1 = foo #> IFILE file1=
set file2 = bar #> OFILE file2=
set dir3 = fum #> IDIR dir3=
set dir4 = baz #> ODIR dir4=
set hello = world #> ENTRY hello=world
set a = 1 #> SCALE a=1 0:2:0.1
set b = 2 #> RADIO b=2 0,1,2
set c = 3,c #> CHECK c=3,c 1,2,3,a,b,c
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,c # help for c, check any of 6 #> CHECK c=3,c 1,2,3,a,b,c

#
foreach _arg ($*)
Expand Down

0 comments on commit 7cfe9a1

Please sign in to comment.