Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!mailrus!csd4.milw.wisc.edu!uxc!uxc.cso.uiuc.edu!gistdev!dlp From: dlp@gistdev.UUCP Newsgroups: comp.unix.questions Subject: Re: why does -vi- set the hi bit when e Message-ID: <8700002@gistdev> Date: 3 Jan 89 21:18:00 GMT References: <448@oglvee.UUCP> Lines: 9 Nf-ID: #R:oglvee.UUCP:448:gistdev:8700002:000:334 Nf-From: gistdev.UUCP!dlp Jan 3 15:18:00 1989 => oglvee.UUCP!norm says: => I am editing a file with vi (say `file.c'), and I want to => print it without leaving the editor, so I escape to the command => line by hitting `:' and I type `` :!lp % ''. Just out of curiousity, why don't you just `` :w !lp '' ? I assume your `lp` reads stdin if there are no filename arguments.