Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!ames!amdahl!meccts!herman!alan From: alan@herman.UUCP Newsgroups: comp.unix.questions Subject: some questions about awk Message-ID: <254@herman.UUCP> Date: Fri, 13-Feb-87 10:19:57 EST Article-I.D.: herman.254 Posted: Fri Feb 13 10:19:57 1987 Date-Received: Sat, 14-Feb-87 19:19:40 EST Organization: Unisys Inc.-CSD Eagan,MN Lines: 20 Keywords: awk I am trying to write an application using "awk" and have run into a couple of problems: 1. Is there any way to send control codes to the printer from within an "awk" program. I have not been able to find any way to output binary, i.e. non-ascii, data from an "awk" program. Both print and printf insist on converting to ascii. 2. Is there a way to read data from stdin? My application is interactive in that it must receive direction from the user via the keyboard at various points. The shell "read" command capability would be sufficient. 3. Is there a way to execute shell commands? In advance, thanks for your help. -- Al Kiecker UUCP: ihnp4!clyde!herman!alan Unisys - Computer Systems Div. meccts!herman!alan Eagan,MN AT&T: (612)681-6475