Search Results

Search: Posts Made By: JITHENDER
1,951
Posted By Don Cragun
You didn't say anything about needing sorted...
You didn't say anything about needing sorted output before (and you showed us one example where the output you said you wanted was not sorted). But, making several more very wild assumptions based...
1,951
Posted By Don Cragun
If I correctly understand what you're trying to...
If I correctly understand what you're trying to do (and I'm not convinced that I do), you can combine your script that produces your data file:
grep -rn "died" /tmp/grepd.0*|cut -d':' -f1|cut -d'.'...
1,951
Posted By RudiC
Did you try the proposal in post#7?
Did you try the proposal in post#7?
1,951
Posted By RudiC
How about (assuming you are using bash which you...
How about (assuming you are using bash which you failed to mention)ARR=($(awk '/died/ {T[$2]} END {for (i in T) print i+0}' FS="." file))
Showing results 1 to 4 of 4

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