Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.unix.questions Subject: Re: Passing multi-line arguments through c-shell Keywords: options csh strings Message-ID: <15503@mimsy.UUCP> Date: 18 Jan 89 04:16:05 GMT References: <259@bridge2.3Com.Com> Distribution: na Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 14 In article <259@bridge2.3Com.Com> jzs@bridge2.3Com.Com (Jeremy A. Siegel) writes: >How can I get a c-shell script to pass multi-line terminal input as a >single argument to a program? By using an sh script instead. >... I tried: ... -y"`cat`" ... Works fine with sh; but csh has serious problems with newlines, and converts them to spaces instead. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris