Skip to content

Instantly share code, notes, and snippets.

View g3nsvrv's full-sized avatar
💾
128 Kb of graphics

g3nsvrv

💾
128 Kb of graphics
View GitHub Profile
@g3nsvrv
g3nsvrv / input_test.sh
Created January 21, 2019 18:21
bash Input var script that test how many arguments were typed and print them on screen
#!/bin/bash
echo "Total number of arguments: $#"
value=$#
for (( c=1; c<=$value; c++ ))
do
echo "Argument: $1"
shift
done