Su
Bill Campbell
linux-sxs
Mon May 17 11:54:13 PDT 2004
On Sun, Sep 28, 2003, Ted Ozolins wrote:
>Joel Hammer wrote:
>>You are missing an ending quote in line 18.
>>
>>Now, you might ask, how did I find this?
>> vi .profile
>> :set syntax=sh
>> :syntax on
>>
>>Joel
>Dang! I like the way that works. Definately entered in my notes, Thank you.
The ``:syntax on'' command usually can figure out the language from the
file name, or the ``#!/usr/bin/perl'' or whatever at the top of the file.
I usually leave it off because I find the underlining or colors
distracting, but it's invaluable to find nagging missing quotes.
Bill
--
INTERNET: bill at Celestial.COM Bill Campbell; Celestial Software LLC
UUCP: camco!bill PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
http://www.celestial.com/
You need only reflect that one of the best ways to get yourself a
reputation as a dangerous citizen these days is to go about repeating
the very phrases which our founding fathers used in the struggle for
independence.
-- Charles A. Beard
More information about the Linux-users
mailing list