Skip to content
GitLab
Explore
Sign in
epita
42sh
master
42sh
tools
args
Find file
Normal view
History
Permalink
args
83 B
Newer
Older
Replace binary args by a shell version
Seblu
committed
Oct 07, 2017
1
2
3
4
5
6
7
8
#!/bin/sh
echo
"argv[0]=
$0
"
i
=
1
for
_a
;
do
echo
"argv[
$i
]=
$_a
"
i
=
$((
$i
+
1
))
done