unixowe-systemy-operacyjne/args-reversed.sh

11 lines
123 B
Bash
Raw Normal View History

2023-05-15 14:42:46 +02:00
#!/bin/bash
if [ $# -eq 0 ]; then exit 1; fi
for ((i=$#;i>0;i--))
do
eval echo -n " \$$i "
echo -n " "
done
echo