If you are at least lazy as me and you use macosx and you hate the mouse I just found this little “shortcut”.
Just go to your favorite terminal and do something like that:
sh-3.2# pbcopy < file
Now in your copy buffer you have your text file (pbcopy defaults to ASCII, see man pbcopy for further informations) and you can paste it everywhere you want or using pbpaste from terminal.
Of course you can also put them in pipes, as for example this deletes comments from a shells script and puts the result in the copy buffer:
sh-3.2# grep -v '^#' file | pbpaste
Otherwise you should:
This is much faster, isn’t it?
Posted by petitesnouvelles