sort words separated by a coma in linux console





6
Date Submitted Fri. Jul. 20th, 2007 11:46 PM
Revision 1 of 1
Helper lavaramano
Tags "array" | awk | bash | cat | gnu/linux/cli | less | sort
Comments 5 comments
how to sort words separated by a ','.

cat file.txt | awk 'BEGIN {RS=","} {print}' | sort | less
 

mauro l

lusers.com.ar/
______________________
// a sphincter says what?

Comments

There are currently no comments for this snippet.

Voting