|
2008-04-30
, 14:39
|
|
Posts: 4,274 |
Thanked: 5,358 times |
Joined on Sep 2007
@ Looking at y'all and sighing
|
#2
|
The Following 3 Users Say Thank You to qwerty12 For This Useful Post: | ||
|
2008-04-30
, 14:41
|
|
Posts: 449 |
Thanked: 51 times |
Joined on Apr 2008
@ eastern north carolina usa
|
#3
|
The Following User Says Thank You to joepagiii For This Useful Post: | ||
|
2008-04-30
, 14:54
|
Posts: 3,841 |
Thanked: 1,079 times |
Joined on Nov 2006
|
#4
|
#!/bin/sh # Check if this file exists: if test -e config.file then echo "You have a config.file file" else echo "No such file config.file" fi echo "Finished with my 'if' test"
The Following User Says Thank You to TA-t3 For This Useful Post: | ||
|
2008-04-30
, 14:56
|
Posts: 5,335 |
Thanked: 8,187 times |
Joined on Mar 2007
@ Pennsylvania, USA
|
#5
|
|
2008-04-30
, 14:56
|
|
Posts: 3,096 |
Thanked: 1,525 times |
Joined on Jan 2006
@ Michigan, USA
|
#6
|
|
2008-04-30
, 15:09
|
|
Posts: 566 |
Thanked: 145 times |
Joined on Feb 2008
@ Tallahassee, FL
|
#7
|
|
2008-04-30
, 15:14
|
Posts: 5,335 |
Thanked: 8,187 times |
Joined on Mar 2007
@ Pennsylvania, USA
|
#8
|
The Following User Says Thank You to sjgadsby For This Useful Post: | ||
|
2008-04-30
, 15:31
|
Posts: 263 |
Thanked: 679 times |
Joined on Apr 2008
@ Lyon, France
|
#9
|
fi shows up in scripts, and I'm finding it surprisingly hard to get a good explanation of what fi is doing in them. Is it a command? Is it short for something? What does it do?
|
2008-04-30
, 15:50
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#10
|
if ... ; then ... elif ... ; then ... elif ... ; then ... elif ... ; then ... else ... fi
Thanks.
.
. .
Help Save This Forum for N8x0/Diablo Users! Register and Vote for Solution #1 on this Brainstorm. (The Solution will let you see New Posts with any threads you choose -- like the N900 and Maemo5/Fremantle threads -- filtered out.) (To understand the Solution better, see these posts #17, #18, and #19.)