unixowe-systemy-operacyjne/args-reversed.sh
Arkadiusz Hypki bc7c991ea2 'Backup;'
2023-05-15 14:42:46 +02:00

11 lines
123 B
Bash

#!/bin/bash
if [ $# -eq 0 ]; then exit 1; fi
for ((i=$#;i>0;i--))
do
eval echo -n " \$$i "
echo -n " "
done
echo