Results 1 to 1 of 1
i have a problem with my script using sed.
bash script must prints out the number of usernames that begin with each letter of the alphabet from some file.
But: ...
- 04-29-2009 #1Just Joined!
- Join Date
- Apr 2009
- Posts
- 2
bash script using sed
i have a problem with my script using sed.
bash script must prints out the number of usernames that begin with each letter of the alphabet from some file.
But: sed -e 's/\.//g' -e 's/ /\
/g' "$1" | tr 'A-Z' 'a-z' | sort | uniq -c | sort -nr print and count the lines,but not first letters.


Reply With Quote