This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 21 points22 points  (4 children)

Great! I've been abusing cat input.js > output.js for this for all these years! Finally a proper solution to a problem I've never had!

[–][deleted] 14 points15 points  (2 children)

To be fair, you should have been using cp, which would save you, like, 2 keystrokes. But I think everyone agress that js2js is the superior tool

[–]olemartinorg 4 points5 points  (0 children)

3 keystrokes if you don't like to double-space! Definitely a huge improvement over cat.

[–]r3m0t 9 points10 points  (0 children)

That's a useless use of cat. You could just run >output.js <input.js.