[net.unix] more shell questions

chip@mtuni.UUCP (Charles Maurer) (01/22/86)

HELP!

I want to take a variable in the shell with imbedded
spaces and question marks and do a set on the variable
to yank out the question marks.

i.e.

$ ls 
thisfile     thatfile     xfile
$ x="hello  ?????  world"
$ echo $x
hello  xfile  world
$ echo "$x"
hello  ?????  world
$ set $x
$ echo $2
$ xfile
$ set "$x"
$ echo $2

$ echo $1
hello xfile world
$ echo "Can anybody help with this one? "
$ echo "I've tried everything"
$ mtuni!chip
mtuni!chip not found
$