News for hackers. Stuff that matters.
Re:The Beauty of Unix Pipelines by mongol on Saturday June 06, 2020 @12:37AM (#23436863)
Thanks, appreciated! I guess using shebang #!/usr/bin/node does not work as # is not a valid comment?
Re:The Beauty of Unix Pipelines by russellbeattie on Sunday June 07, 2020 @05:06PM (#23450824)
I think Node has an exception for that built in, so you can do that or #!/usr/bin/env node and it'll work.