* hard to find error
@ Scott Howell
` Gregory Nowak
0 siblings, 1 reply; 8+ messages in thread
From: Scott Howell @ UTC (permalink / raw)
To: speakup
Ah, no actually errors are lying in wait, but yet here is one I can't
quite get a handle on.
I'm editing a script and I attempted to run it and got the following. It
was working, but I've obviously done something to break it.
line 227: syntax error near unexpected token `fi'
I am using nano and tried going to line 227 and found an fi, but it is no
different than the other cases where I'm using fi.
Btw, what the hell is fi mean in any case. Man I need to learn some
scripting.<grin>
tia
Scott
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
hard to find error Scott Howell
@ ` Gregory Nowak
` laptop for sale Patrick Turnage
` hard to find error Scott Howell
0 siblings, 2 replies; 8+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
Fi essentially means end if. You have one extra somewhere, and don't realize it. Match all the ifs with the fis, and see if they really all match.
Greg
On Sun, Oct 06, 2002 at 08:38:40PM -0400, Scott Howell wrote:
> Ah, no actually errors are lying in wait, but yet here is one I can't
> quite get a handle on.
> I'm editing a script and I attempted to run it and got the following. It
> was working, but I've obviously done something to break it.
>
> line 227: syntax error near unexpected token `fi'
>
> I am using nano and tried going to line 227 and found an fi, but it is no
> different than the other cases where I'm using fi.
>
> Btw, what the hell is fi mean in any case. Man I need to learn some
> scripting.<grin>
>
> tia
> Scott
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 8+ messages in thread
* laptop for sale
` Gregory Nowak
@ ` Patrick Turnage
` hard to find error Scott Howell
1 sibling, 0 replies; 8+ messages in thread
From: Patrick Turnage @ UTC (permalink / raw)
To: speakup
Hi.
I am looking to get rid of a laptop that I own. The laptop is being sold
as is because I have no idea why the hard drives keep failing.
It is a
mva6690 made by now bank rupt dual technologies INC. They made a lot of
monitors, anyway here are the specs..
AMD k6-II 400 MHZ
64M ram (2slots of 2 32M modules)
expanded to 128M
non-working removable 2.5 9.5MM hard-disks with housing
1 brand new hd
I think I bent a few of the pins on it when I tried to insert it in to the
housing that slides in to the laptop
it is a 2.1 G IBM Travel Star
second hard drive
6.0 hard drive, I have no idea why it doesn't work.. Both hard drives are
in warrantee from the manufacturer So they could be replaced.
I believe it was a power problem with the battery but I don't have time to
mess with it any longer.
here are the rest of the specs.
yamaha opl3SAX sound (multichannel sound card) under windows
in Linux uses the yamaha opl3SA2 sound driver as the alsa sound module.
video chipson technologies 6990 I believe that is correct 2m on board video
ram.
2 PCMCIA slots
1 IR port capible of Fast IR
1 USB port
compatibal with Linux
1 serial 9 pin male connecter
1 printer ECP bydirectional lpt port
1 PS2 port for mouse/keyboard/numberPad
audio jacks include
1 headphones/stereo out
1 microphone
1 line-in
1 video out for connection to a tv
monitor crt port for connection of a crt monitor switch easily with quick
function keys
24X internal CD-ROM
internal 1.44M Floppy drive
AC adapter included
manual in electronic text format
can be printed or embossed if needed
quick reference of function keys
printed or embossed if needed
windows 98 included
along with authentic CD and KEY
Can include optional burned disk of any distro you wish.
no battery included as I believe that it was the cause of my hard drive
failures..
I'm asking somewhere between 400 and 500 US dollars.
I will pay shipping to anywhere in the contenintal United States
No modem included
It would have to be PCMCIA
If your running windows on it, you can just grab any cheep v90 or v92 modem
out there.. If linux you may want to ask a little. If you want to go
network adapters linksys makes the EC2T which works fine in Linux with the
newest PCMCIA modules.
If you are interested or know anybody who has some free time on their hands
and wants a otherwise good laptop E-mail me at pturnage@tampabay.rr.com. Oh
yes it comes with a case, and a cd with drivers on it can even throw in an
extra burned copy of the original for your archival purposes.
It is only 2 years old bought it in June of 2000 and it cost 1400 but
laptops of that same used quality are going for around 500 on price watch.
anyway the only reason I'm posting this here is because it runs Linux
really good, and I know there are a lot of computer literate people who
have time.. Besides Ebay charges a fee to sell your items there so before I
try it, tehre I want to here, oh yes if you live in the Miami Florida area
and are interested in having a look at this please E-mail me and we'll
exchange phone numbers and then address and work something out.
thanks
Patrick
-----
Patrick Turnage
E-mail: pturnage@tampabay.rr.com
AOL Instant Messenger: kg4dqk
Home Page:
http://www.access-connect.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
` Gregory Nowak
` laptop for sale Patrick Turnage
@ ` Scott Howell
` Geoff Shang
` (2 more replies)
1 sibling, 3 replies; 8+ messages in thread
From: Scott Howell @ UTC (permalink / raw)
To: speakup
Huh, I never gave any thought to the fi as being the end of an if
statement, but that makes sense. Ok I'll check it out and I think there
just might be more than one hanging in there. I guess the real question
is when you get an error from the shell that says error in line 227,
does that line count include the comment lines as well? In other words
does it mean you can pull the file into your edit, go to line 227, and
remove the offending problem?
Never was 100% clear on this point.
tnx
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
` hard to find error Scott Howell
@ ` Geoff Shang
` Scott Howell
` Steve Holmes
` Gregory Nowak
2 siblings, 1 reply; 8+ messages in thread
From: Geoff Shang @ UTC (permalink / raw)
To: speakup
Hi:
Yes. If they say line 227, they mean line 227. Though, sometimes, due to
the nature of the error, the error might actually be on the previous line.
--
Geoff Shang <gshang@uq.net.au>
ICQ number 43634701
Make sure your E-mail can be read by everyone!
http://www.betips.net/etc/evilmail.html
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
` hard to find error Scott Howell
` Geoff Shang
@ ` Steve Holmes
` Gregory Nowak
2 siblings, 0 replies; 8+ messages in thread
From: Steve Holmes @ UTC (permalink / raw)
To: speakup
Well and for another interesting construct, consider the case
statement. this is where you can have multiple values for a single
variable and appropriate action is taken for each value.
It goes something like this:
case $var in
"1" )
statements
;;
"2" )
statements
;;
.........
esac
Notice the esac (case spelled backwards) <smile>.
Yes, the line number should point you directly to the line in an
editor. Just beware that the interpreter might be confused or messed
if you left out groupings like parentheses or quotes.
On Mon, Oct 07, 2002 at 05:11:13AM -0400, Scott Howell wrote:
> Huh, I never gave any thought to the fi as being the end of an if
> statement, but that makes sense. Ok I'll check it out and I think there
> just might be more than one hanging in there. I guess the real question
> is when you get an error from the shell that says error in line 227,
> does that line count include the comment lines as well? In other words
> does it mean you can pull the file into your edit, go to line 227, and
> remove the offending problem?
> Never was 100% clear on this point.
>
> tnx
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
` hard to find error Scott Howell
` Geoff Shang
` Steve Holmes
@ ` Gregory Nowak
2 siblings, 0 replies; 8+ messages in thread
From: Gregory Nowak @ UTC (permalink / raw)
To: speakup
>From my experience, this is correct. If it says the error is on line x, it takes the comments into account. So, yes, you can then go to line x and see if the error is there.
Greg
On Mon, Oct 07, 2002 at 05:11:13AM -0400, Scott Howell wrote:
> Huh, I never gave any thought to the fi as being the end of an if
> statement, but that makes sense. Ok I'll check it out and I think there
> just might be more than one hanging in there. I guess the real question
> is when you get an error from the shell that says error in line 227,
> does that line count include the comment lines as well? In other words
> does it mean you can pull the file into your edit, go to line 227, and
> remove the offending problem?
> Never was 100% clear on this point.
>
> tnx
>
>
> _______________________________________________
> Speakup mailing list
> Speakup@braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: hard to find error
` Geoff Shang
@ ` Scott Howell
0 siblings, 0 replies; 8+ messages in thread
From: Scott Howell @ UTC (permalink / raw)
To: speakup
Geoff,
Thanks, I'll rip that sucker out and see what comes of it.
Scott
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
hard to find error Scott Howell
` Gregory Nowak
` laptop for sale Patrick Turnage
` hard to find error Scott Howell
` Geoff Shang
` Scott Howell
` Steve Holmes
` Gregory Nowak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).