[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian-user-digest Digest V2005 #865



On Mon, Apr 04, 2005 at 02:19:49PM -0400, Michael Marsh wrote:
> You might also try telling ed
> that stdin is coming from some other filehandle than the keyboard, say
> a file descriptor, a pipe, a regular file, or a FIFO (named pipe).

Yes, you can redirect ed's standard input and talk to it from a script
etc. It does occasionally go weird on you though. I've found
differences in behaviour between 'ed < file' and 'cat file | ed' which
meant I had to use the cat version.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: signature.asc
Description: Digital signature


Reply to: