Skip to content

Instantly share code, notes, and snippets.

@Paulpeter
Paulpeter / echo_arguments.sh
Created Feb 7, 2017
Script to echo back your arguments
View echo_arguments.sh
#!/usr/bin/sh
i=0
sentence=$(echo "")
for item in $@
do
if [ $i -eq 0 ]
then
i=1
else
sentence=sentence"$item"