~johanvandegriff/unix-shell-programming-revised-edition-programs

unix-shell-programming-revised-edition-programs/remove_spaces -rw-r--r-- 159 bytes
fc214385Johan Vandegriff added other old scripts, some newer ones too 1 year, 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
#!/bin/sh
dir="/home/johanv"
find "$dir" | grep ". ." > ~/tmp
while read line
do
  new=`echo "$line" | tr ' ()' '___'`
  mv "$line" "$new"
done < ~/tmp
read a