|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
gawk'ing at end of line
Lines in the file can end
...998~01234 ...998~12345 ...998~00123 ...998~0 which is the line I'm looking for. The normal use of the script looks for data well back from the end of the line, so if the gawk says gawk '/520~001155/' hey, no problem. But 998~0 is a special case and fully half of thousands of lines end 998~0something and I need 998~0(end.of.line) 998~0backslash-n doesn't work. Ctrl-J blows up. Any ideas? Tks |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > UNIX Help > gawk'ing at end of line |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|