> On Wed, Jan 30, 2002 at 12:54:16PM -0500, Post, Mark K wrote: > > >> echo 'noauto,0x0000,0xedff' >> /etc/chandev.conf > >> echo 'noauto,0xee03,0xffff' > /etc/chandev.conf > >> echo 'add_parms,0x10,0xee00,0xee02,portname:OSA1' > /etc/chandev.conf > > > Hmm. You need to spend a few minutes learning some basic vi commands. > > Creating .conf files with echo is certainly feasible, but not very > > desirable! > > But if you don't have a network, then you have a 3215 or a 3270 or the > HMC. In which case, vi won't help you. > > In these cases, I use cat. Others use echo. I suppose I could learn > ed, since ed is the standard editor, but I prefer not to.
Don't knock ed. If you want to do some text editing in a script, ed's a fine way to do it. So's ex, part of the vim package and similar to ed. -- Cheers John Summerfield Microsoft's most solid OS: http://www.geocities.com/rcwoolley/ Note: mail delivered to me is deemed to be intended for me, for my disposition.
