$ cat args.sh
#!/bin/bash
ARGS="$*"
for arg in $ARGS; do
echo -e "действие с /etc/AlterPro/$arg"
done
--------
$ bash args.sh apps_sys apps_map apps_ctrl apps_port
действие с /etc/AlterPro/apps_sys
действие с /etc/AlterPro/apps_map
действие с /etc/AlterPro/apps_ctrl
действие с /etc/AlterPro/apps_port
function urldecode() { : "${*//+/ }"; echo -e "${_//%/\\x}"; }
for f in encoded.html enpage.html; do
urldecode `cat "$f"` > "$f"
done