Tag Archive
The following is a list of all entries tagged with Bash:
“–” (Double-hyphen) in Bash
Filed in Notes, Programming, November 24, 2009, 2:09 pm$cat out
if [ $# -eq 0 ]
then
echo "Usage: out [-v] filenames…" 1>&2
exit 1
fi
if [ "$1" = "-v" ]
then
shift
[...]
Handle Filenames with Spaces Properly in Bash Loops
Filed in Programming, , 5:44 amfind ~ -name ‘* *’ | while read FILE
do
echo "$FILE rocks."
done
via Handling Filenames with Spaces in Bash