Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!spool.mu.edu!samsung!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!ncar!gatech!udel!princeton!phoenix.Princeton.EDU!falstad!paul From: paul@falstad Newsgroups: comp.unix.shell Subject: Re: csh setenv with `cat ...` Keywords: csh setenv with `cat ...` Message-ID: <56092@notavax.Princeton.EDU> Date: 26 Apr 91 04:06:46 GMT References: <6291@beryl12.UUCP> Sender: gnus@idunno.Princeton.EDU Distribution: comp Organization: League For Fighting Chartered Accountancy Lines: 17 mostek@motcid.UUCP (Frank B. Mostek) wrote: >I am having a problem with the csh setenv command: > >$setenv EXINIT `cat ~/.myexrc` >`cat ~/.myexrc`: Ambiguous. The problem is that `cat ~/.myexrc` produces more than one word. setenv takes only two arguments. Do: setenv EXINIT "`cat ~/.myexrc`" The double quotes prevent the `...` from being split into words. -- Paul Falstad pfalstad@phoenix.princeton.edu And on the roads, too, vicious gangs of KEEP LEFT signs! If Princeton knew my opinions, they'd have expelled me long ago.