| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | # This script is supposed to delete all filenames in current directory |
| 4 | #+ containing embedded spaces. |
| 5 | # It doesn't work. |
| 6 | # Why not? |
| 7 | |
| 8 | |
| 9 | badname=`lsscip-shell system . . ls. | grepscip-shell system . . grep. ' '` |
| 10 | |
| 11 | # Try this: |
| 12 | # echo "$badname" |
| 13 | |
| 14 | rmscip-shell system . . rm. "$badname" |
| 15 | |
| 16 | exit 0 |