Search Results

Search: Posts Made By: zpn
3,948
Posted By zpn
This works well. I could neve figure out how to...
This works well. I could neve figure out how to filter before feeding the text to sub() . Went back to my old ways of filtering /COMPLETED/ using sed and then feeding it to above script.
3,948
Posted By zpn
aaa\bb,bbb #1\ccc 234567890111\ddd\eee\ff#8\g...
aaa\bb,bbb #1\ccc 234567890111\ddd\eee\ff#8\g #1\whatever
aaa\bb,bbb #1\ccc 234567890111\ddd\eee\ff#8\ g #10\whatever
aaa\bb,bbb #1\ccc 234567890111\ddd\eee\ff#84\ g #1\whatever

Output:...
2,237
Posted By zpn
wow! this is a simpel neat solution. Can I...
wow! this is a simpel neat solution. Can I prevent the file name being printed ? I just need the dir name
2,237
Posted By zpn
Script for merging files
I am facing a strange situation where I need to collect logs and consolidate them.

All logs are under say /tmp/useless and all logs are under subdir of the form IPaddresses_x_y
eg:...
3,948
Posted By zpn
Help with awk and substr
I have the following to find lines matching "COMPLETE" and extract parts of it using substr.
sed -n "/COMPLETE/p" 1.txt | awk 'BEGIN { FS = "\" } {printf"%s %s:%s \n",...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 04:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy