|
2008-01-24
, 23:31
|
|
Posts: 282 |
Thanked: 69 times |
Joined on Dec 2007
@ Penniless Park, Fla.
|
#12
|
thanks benson for putting in the "dot" and thanks linux_author for making it in the first place. I took me an hour but it's the first time i've used awk so it was fun.
|
2008-01-26
, 03:43
|
Posts: 57 |
Thanked: 0 times |
Joined on Dec 2007
|
#13
|
|
2008-01-26
, 04:35
|
Posts: 678 |
Thanked: 197 times |
Joined on Jul 2007
@ San Jose CA
|
#14
|
How do I launch it from the folder location or do I need to have the desktop applet/icon running?
The Following User Says Thank You to nhanquy For This Useful Post: | ||
|
2008-01-28
, 03:23
|
Posts: 57 |
Thanked: 0 times |
Joined on Dec 2007
|
#15
|
|
2008-01-28
, 15:58
|
|
Posts: 4,930 |
Thanked: 2,272 times |
Joined on Oct 2007
|
#16
|
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....
Also, whats the N800's equivalent editor to Vi for Xterm?
|
2008-01-28
, 16:26
|
Posts: 57 |
Thanked: 0 times |
Joined on Dec 2007
|
#17
|
/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
thanks benson for putting in the "dot" and thanks linux_author for making it in the first place. I took me an hour but it's the first time i've used awk so it was fun.