Search Results

Search: Posts Made By: loveno
8,433
Posted By loveno
First I'd like to remind you if possible to use...
First I'd like to remind you if possible to use some other alternative methods to achieve your goal (eg. combining the 2 scripts into one), as it seems the method you mentioned is a little...
3,485
Posted By loveno
# Loop over a file and read $LINE { ...
# Loop over a file and read $LINE {
$text = split ('|', $line)[2];
}
7,485
Posted By loveno
the grep is the utility that you'd better use. ...
the grep is the utility that you'd better use.
grep '^[0-9]\{4\}$' <filename>
1,579
Posted By loveno
find . -type f -name "*2392*.html" -ls the...
find . -type f -name "*2392*.html" -ls

the short one.
4,908
Posted By loveno
cat <filename> | sort -u | awk '{a[$1]++} END{for...
cat <filename> | sort -u | awk '{a[$1]++} END{for (f in a) print f, a[f]}'

this command works for your question.
Showing results 1 to 5 of 5

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