a 771 lines diff
This commit is contained in:
3
code/shell/demofonctions.sh
Executable file
3
code/shell/demofonctions.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
. ./fonctions.sh
|
||||
message "hello world"
|
||||
5
code/shell/fonctions.sh
Normal file
5
code/shell/fonctions.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
message ()
|
||||
{
|
||||
echo $1 | boxes
|
||||
}
|
||||
7
code/shell/heredoc.sh
Executable file
7
code/shell/heredoc.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
gnuplot << __EOC__
|
||||
set term dumb
|
||||
set grid
|
||||
plot [x=0:pi*2] sin(x)
|
||||
__EOC__
|
||||
Reference in New Issue
Block a user