Dear managers:
I have been writing shell script for years now. The following is
befuddling me.
If I do this it gives me what I want:
> echo "MAY-03-1999" | cut -f1,2 -d"-" | sed -e 'y/-0/'\ ''\ '/'
MAY 3 (Ntice the two spaces)
If I do this inside a script or on command line:
> set d = `echo "MAY-03-1999" | cut -f1,2 -d"-" | sed -e 's/-0/ /'`
> echo $d
MAY 3 (Notice one space, not what I want)
I have read the manual and used sed alot in the past.
Is this a DU 4.x problem?
Sincerely yours!!
Sherman Owens
sherman_at_pet.wustl.edu
Received on Tue May 04 1999 - 19:12:22 NZST