Debian Codegraph @

ex75.sh

raw symbols SCIP
1 #!/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=`ls | grep ' '`
10
11 # Try this:
12 # echo "$badname"
13
14 rm "$badname"
15
16 exit 0