Thread
:
a simple talking IP address utility for flite
View Single Post
HWL
2008-01-28 , 03:23
Posts: 57 | Thanked: 0 times | Joined on Dec 2007
#
15
whats the difference between the original script and this one below in terms of getting this one operating? Are they interchangeable or do I need to modify something....
Thanks
/sbin/ifconfig |sed s/wlan/w-lan/| awk '/^[^ ]/ {interf = $1} /inet addr:/ {print interf", I P is ,:"$2}'|grep -v 127.0.0.1|cut -d: -f1,3| awk -F: '{ {a = " "} {for (i = 1; i <= length($2); i++) {a = (a (substr($2,i,1) " " )) }} {print ($1 a)} } ' |awk -F. '{print $1", dot "$2", dot "$3", dot "$4}' | flite
Also, whats the N800's equivalent editor to Vi for Xterm?
Last edited by HWL; 2008-01-28 at
03:24
. Reason: addition
Quote & Reply
|
HWL
View Public Profile
Send a private message to HWL
Visit HWL's homepage!
Find all posts by HWL