Fidonet Portal






From: Alan Ianson (1:153/757)
To: n/a
Date: Sun, 04.08.19 10:09
My bash script
>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.. Smile

--- BBBS/Li6 v4.10 Toy-4
* Origin: The Rusty MailBox - Penticton, BC Canada (1:153/757)

ABOUT

This forum contains echomail areas hosted on Nightmare BBS You can browse local echomail areas, italian fidonet areas and a selection of international fidonet areas, reading messages posted by users in Nightmare BBS or even other BBSs all over the world. You can find file areas too (functional to fidonet technology). You can browse echomail areas and download files with no registration, but if you want to write messages in echomail areas, or use fidonet netmail (private messages with fidomet technology), you have to register. Only a minimal set of data is required, functional to echomail and netmail usage (name, password, email); a registration and login with facebook is provided too, to allow easy registration. If you won't follow rules (each echomail areas has its own, regularly posted in the echomail), your account may be suspended;

CONTACT