*BSD News Article 34633


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!uunet!boulder!rintintin.Colorado.EDU!nielsenc
From: nielsenc@rintintin.Colorado.EDU (Christopher Nielsen)
Newsgroups: comp.unix.bsd
Subject: Re: Unix Question: Unmatched "
Followup-To: comp.unix.questions
Date: 19 Aug 1994 22:56:54 GMT
Organization: University of Colorado, Boulder
Lines: 33
Sender: nielsenc@cs.colorado.edu
Message-ID: <333dbm$ha9@lace.Colorado.EDU>
References: <CuGrI1.6on@zimmer.csufresno.edu>
NNTP-Posting-Host: rintintin.colorado.edu
Keywords: csh tcsh unmatched

In article <CuGrI1.6on@zimmer.csufresno.edu>,
Dan LeGate <dlegate@s1.csuhayward.edu> wrote:
>In unix, is there a way to quickly find WHERE an Unmatched "
>is in a file? It's very frustrating to get this message, but
>not know where it is.  The file that is giving me the error is
>an alias file. When I type "source .aliases" it gives me the
>message: Unmatched "
>and then refuses to run anything in the file.
>Thanks for any help or info you can give!  Oh, and if this is
>the wrong place to post this, I'm sorry - could you redirect
>me to a more appropriate group?  Go easy on me - just a beginner! :)
>
>Dan LeGate
>dlegate@s1.csuhayward.edu
>PRODIGY: FCSJ69A

A better place to ask this question would be comp.unix.questions

An easy way to find out which line the alias file is bombing on
is to type 'alias' at the shell prompt to see how far along in 
the alias file csh/tcsh got. Just find the last alias that was
read from the file; the next line will be the offending one.


=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher Nielsen                                          Bit Twiddler
Colorado Center for Astrodynamics Research  (nielsenc@pippin.colorado.edu)
University of Colorado at Boulder           (nielsenc@nag.cs.colorado.edu)
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Christopher Nielsen					     Bit Twiddler
Colorado Center for Astrodynamics Research  (nielsenc@pippin.colorado.edu)
University of Colorado at Boulder           (nielsenc@nag.cs.colorado.edu)