Small cleanup for mod_shebang.sh

pull/65/head
Alex Waite 2015-03-25 10:50:29 +01:00
parent 20128be221
commit 168426ad72
1 changed files with 3 additions and 3 deletions

View File

@ -21,13 +21,13 @@ OPTIONS:
EXAMPLES:
Single File:
mod_shebang.sh -s '#!/bin/bash' wicked_script.sh
${0##*/} -s '#!/bin/bash' wicked_script.sh
All Files in Folder:
mod_shebang.sh -s '#!/bin/ksh' folder/*.sh
${0##*/} -s '#!/bin/ksh' folder/*.sh
# All Files Recursively in Folder
find folder/ -type f -exec mod_shebang.sh -s '#!/bin/zsh' {} \;
find folder/ -type f -exec ${0##*/} -s '#!/bin/zsh' {} \;
EOF
exit 0