Open void285 opened 6 years ago
I want to use uniq to count uniqe lines, but I have to copy the lines to a specific file in advance, it troubles. So can glue use the currently opened file as input and output the result in a new file?
"muniq" : "cat tmp.txt | sort | uniq -c | sort -k 1nr -k 2",
I want to use uniq to count uniqe lines, but I have to copy the lines to a specific file in advance, it troubles. So can glue use the currently opened file as input and output the result in a new file?
"muniq" : "cat tmp.txt | sort | uniq -c | sort -k 1nr -k 2",