chrissimpkins / glue

Glue is a plugin that joins your shell to Sublime Text in quasi-perfect harmony.
http://gluedocs.readthedocs.org/
MIT License
254 stars 10 forks source link

Can glue run command using the current file as input? #62

Open void285 opened 6 years ago

void285 commented 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",