home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpyhde4!hpycla!hpergfg2!hprdash!hprpcd!tmilner
- From: tmilner@hprpcd.rose.hp.com (Tom Milner)
- Newsgroups: comp.unix.wizards
- Subject: Re: 'cat'ting 8 bit data to the terminal.....
- Message-ID: <15250003@hprpcd.rose.hp.com>
- Date: 26 Aug 92 20:52:59 GMT
- References: <BARNETT.92Aug24093311@grymoire.crd.ge.com>
- Organization: Performance Technology Center, Roseville
- Lines: 21
-
- In comp.unix.wizards, barnett@grymoire.crd.ge.com (Bruce Barnett) writes:
-
- | I have a question about using cat to output 8 bit data to the
- | terminal. Actually, I want to ignore the 8th bit. I thought
- | stty -istrip
- | cat file
- | would remove the parity bit, but apparently not on SunOS 4.1.1. I am
- | trying to determine if
- | a) this is a bug
- | b) there is another stty option I have to use ( I tried
- | several combinations)
- | c) I have to write a program to remove parity from a pty
- | connection.
- |
- .
- .
- | --
- | Bruce Barnett <barnett@crd.ge.com> uunet!crdgw1!barnett
-
- How 'bout
- cat file | tr '[\200-\377]' '[\000-\177]'
-