Skip to content

Commit

Permalink
old tkrun style example
Browse files Browse the repository at this point in the history
  • Loading branch information
teuben committed Jul 28, 2023
1 parent 2137e6e commit 685e1df
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions example1.csh
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#! /usr/bin/env csh
#
# OLD (t)csh

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 #> 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

0 comments on commit 685e1df

Please sign in to comment.