Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!apple!motcsd!hpda!hpwala!hpavla!rowland From: rowland@hpavla.HP.COM (Fred Rowland) Newsgroups: comp.unix.wizards Subject: Re: vi and sed questions Message-ID: <4370003@hpavla.HP.COM> Date: 20 Sep 89 12:35:06 GMT References: <4370002@hpavla.HP.COM> Organization: Hewlett-Packard Avondale Division Lines: 24 Thank you, thank you, thank you! Between notes and email, I now have the answers I requested. The reply from Finland, quoted below, gave the crucial clue. > Strange. The following 2-line sed script does it just fine for me: > > s/@/\ > /g > > (Nothing invisible in there, just what it looks like.) > The only problem with this I can think of is that if you're using > csh or tcsh you have to put the script in a file and use the -f option. > What machine, OS and shell are you using? That's exactly what I tried, and I had some typed notes that said that it worked a few months ago, but it failed now. Problem: I switched from Bourne to csh a while back and didn't know about the need to use the -f option. BTW, I'm using hp-UX 6.5 on an HP 330. Fred Rowland Avondale Division