On Friday, Jan 30, 2004, at 19:22 America/New_York, Marc Lavallée wrote:
On Fri, Jan 30, 2004 at 11:54:16AM +0100, Orm Finnendahl wrote:
Copy the attached script "ip_num.sh" somewhere, ...
My version of the script (for Mandrake), with the interface name as an argument.
#!/bin/sh ifconfig $1 | grep 'inet adr:'
| sed -e 's/ +inet adr:([0-9|.]+).*$/\1/g'
For example: ip_num.sh eth0
Now for the real challenge: write a script that works on all of the
platforms that Pd does. ;)
.hc ________________________________________________________________________ ____
Using ReBirth is like trying to play an 808 with a long stick. -David Zicarelli