home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 604 
 Alan Ianson to Deon George 
 My bash script 
 04 Aug 19 08:09:50 
 
MSGID: 1:153/757.0 ab3fa1af
REPLY: 26.fdn_tuxpower@3:633/509 21ab77d0
TZUTC: -0700
CHARSET: LATIN-1
>Yeah, the reason it would fail, is the shell will expand it. IE: If you have 2
> TIC's "a.tic", "b.tic", the command expands to:

> : if [ -f fido/inbound/a.tic fido/inbound/b.tic ]; then

> Which is a syntax error. There are probably many ways to do this, the way I
> would do it is:

OK, I'll need to change that.

> In my above example, you could have

> for i in fido/inbound/*.tic fido/inbound/*.TIC; do

> And then have another test for the uppercase *.TIC, that "continues".

Thanks for the suggestions, I'll give that a try.. :)

--- BBBS/Li6 v4.10 Toy-4
 * Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)
SEEN-BY: 1/123 15/2 57/0 153/250 154/10 203/0 220/70 221/0 226/17
SEEN-BY: 227/114 229/354 426 1014 240/5832 249/206 317 400 250/3 267/800
SEEN-BY: 280/464 5003 310/31 317/3 322/757 342/200 396/45 712/848
SEEN-BY: 770/0 1 100 340 772/0 1 500 2452/250
PATH: 153/757 250 770/1 280/464 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca