[ILUG] col(1)-ish tool emulating destructive ^H ?

Brian Foster blf at utvinternet.ie
Tue Feb 17 02:16:11 GMT 2004


  | From: kevin lyda <kevin+dated+1077413703.73b08f at ie.suberic.net>
  | Date: Tue, 17 Feb 2004 01:34:59 +0000
  | 
  | On Mon, Feb 16, 2004 at 10:01:53PM +0100, Brian Foster wrote:
  | >   the problem is `col -b' emulates non-destructive BS
  | >  (backspace), such as happens on hardcopy printers [ ... ]
  | >       x BS SP
  | >  where <x> is any _printing_ character, is turned into
  | >  (by `col -b'):
  | >       x
  | 
  | no it isn't.  it's turned into SP according to the man page:
  | 
  |     -b  Do not output any backspaces, printing only the last
  |         character written to each column position.

 yes, kevin, thank you for the RTFM lesson.

 NOW TRY IT.  (sorry for the shouting.)

 the man page is wrong, or else `col' has a bug.
 since this is GNU, it could be either.   ;-(

cheers!
	-blf-
--
«How many surrealists does it take to    |  Brian Foster      Montpellier,
 change a lightbulb?  Three.  One calms  |  blf at utvinternet.ie      France
 the warthog, and two fill the bathtub   |    Stop E$$o (ExxonMobile)!
 with brightly-colored machine tools.»   |        http://www.stopesso.com



More information about the ILUG mailing list