On Sun, Jul 06, 2003 at 03:04:16AM +0800 I heard the voice of adrian kok, and lo! it spake thus: > > My friend puts some words in in.txt eg: > > xxx > wq! > > and vi < in.txt > > then this program in in.txt will automatically do it > and finally save and exit
With vim, use -s (see manpage). -- Matthew Fuller (MF4839) | [EMAIL PROTECTED] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet" _______________________________________________ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"