[Bug 337] New: awk parsing data incorrectly
bugzilla at busybox.net
bugzilla at busybox.net
Mon May 18 15:01:35 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=337
Host: i686
Target: i686
Build: 1.14.0
Summary: awk parsing data incorrectly
Product: Busybox
Version: 1.14.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: denys at visp.net.lb
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
I have set of files in /var/run
Here is full command i am using:
grep -H "" /var/run/interface.*|awk -F 'interface.' '{print $2}';
If i do just
grep -H "" /var/run/interface.*
Output is:
/var/run/interface.ppp0:mhnet456
/var/run/interface.ppp1:nobrand19
/var/run/interface.ppp10:madi12
/var/run/interface.ppp100:cybernet31
/var/run/interface.ppp102:newnet22
/var/run/interface.ppp103:newnet355
/var/run/interface.ppp104:mh1112
/var/run/interface.ppp105:tima77
/var/run/interface.ppp106:hg105
/var/run/interface.ppp107:abed
/var/run/interface.ppp108:abo11
/var/run/interface.ppp109:mh1221
/var/run/interface.ppp11:cyber236
/var/run/interface.ppp110:chehade009
/var/run/interface.ppp111:neop4
/var/run/interface.ppp112:ammach008
/var/run/interface.ppp113:234
/var/run/interface.ppp114:mallar008
/var/run/interface.ppp115:koussa009
/var/run/interface.ppp116:gaby7
/var/run/interface.ppp117:basam9
/var/run/interface.ppp118:alameer16
/var/run/interface.ppp119:nobrand39
/var/run/interface.ppp12:snap46
/var/run/interface.ppp120:gaby4
/var/run/interface.ppp121:netcafe50
/var/run/interface.ppp122:pcnow20
If i do complete command:
ppp0:mhnet456:mhnet456
ppp1:nobrand19nobrand19
ppp10:madi1210:madi12
ppp100:newnet54:newnet54
ppp101:mh167101:mh167
ppp102:newnet22:newnet22
ppp104:mh111204:mh1112
ppp105:tima7705:tima77
ppp106:hg105106:hg105
ppp107:abedp107:abed
ppp108:abo11108:abo11
ppp109:mh122109:mh1221
ppp11:cyber236:cyber236
ppp110:chehade009hehade009
ppp111:neop4111:neop4
ppp112:ammach008ammach008
ppp113:234pp113:234
ppp114:mallar008mallar008
ppp115:koussa009koussa009
ppp116:gaby7116:gaby7
ppp117:basam917:basam9
ppp118:alameer16alameer16
ppp119:nobrand39nobrand39
ppp12:snap4612:snap46
ppp120:gaby4120:gaby4
ppp121:netcafe50netcafe50
ppp122:pcnow202:pcnow20
ppp123:neoout78:neoout78
ppp124:baalbaki007albaki007
ppp125:gaby1125:gaby112
ppp126:gadaar46:gadaar4
ppp127:cyber135:cyber135
ppp128:mh111328:mh1113
ppp129:snap6729:snap67
ppp13:majal123:majal12
ppp130:gaby5130:gaby5
ppp131:ajnet431:ajnet4
ppp132:abo22232:abo222
ppp133:newnet94:newnet94
ppp134:mo24p134:mo24
ppp135:newnet440newnet440
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list