a 771 lines diff

This commit is contained in:
tTh
2023-10-08 21:56:41 +02:00
parent c6fe2224bf
commit c3e227f472
23 changed files with 339 additions and 42 deletions

3
code/shell/demofonctions.sh Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
. ./fonctions.sh
message "hello world"

5
code/shell/fonctions.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
message ()
{
echo $1 | boxes
}

7
code/shell/heredoc.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
gnuplot << __EOC__
set term dumb
set grid
plot [x=0:pi*2] sin(x)
__EOC__