Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Shell-one-liner/ALGOL-68/shell-one-liner-1.alg
Normal file
1
Task/Shell-one-liner/ALGOL-68/shell-one-liner-1.alg
Normal file
|
|
@ -0,0 +1 @@
|
|||
$ a68g -e 'print(("Hello",new line))'
|
||||
6
Task/Shell-one-liner/ALGOL-68/shell-one-liner-2.alg
Normal file
6
Task/Shell-one-liner/ALGOL-68/shell-one-liner-2.alg
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
code='print(("Hello", new line))'
|
||||
a=/tmp/algol$$ s=/usr/share/algol68toc;
|
||||
echo -e "PROGRAM algol$$ CONTEXT VOID\nUSE standard\nBEGIN\n$code\nEND\nFINISH\n" > $a.a68 &&
|
||||
a68toc -lib $s -dir $s -uname TMP -tmp $a.a68 && rm $a.a68 &&
|
||||
gcc $s/Afirst.o $a.c -l{a68s,a68,m,c} -o $a && rm $a.c &&
|
||||
$a; rm $a
|
||||
Loading…
Add table
Add a link
Reference in a new issue