| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Bash Scripting help. |
Hello Robert. 14 Jun 04 13:27, you wrote to all: RC> Hello everybody. RC> I am a newbie Linux user and have no clue about regular expressions RC> and bash scripting and such, so I am turning to you for assistance. :) RC> This is what I would like to do for now: RC> Right a batch script that will test my IP and compare it to the one in RC> the nodelist segment I maintain. If it is different, I want it to RC> update the nodelist segment to the new IP if it has changed. RC> It will also have to convert the ip quad's ".'s" to "-'s". RC> Can sombody point me in the right direction? A small example would be RC> awesome. Once I have an example, I can adapt to my needs. Perl would probably work best for this, bash scripts aren't all that useful for parsing data and changing it. RC> I find I learn better from examples than man pages. I hate man pages RC> ... ;) I could probably write one in PHP, however I'm sure some of the Perl gurus could give you a better example. Mike --- GoldED+/LNX 1.1.5* Origin: Dain Bramaged. (1:229/4000) SEEN-BY: 633/267 270 @PATH: 229/4000 261/38 123/500 106/2000 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.