News for hackers. Stuff that matters.
Re: by Izkata on Wednesday December 21, 2022 @11:38PM (#34089872)
To give a more solid example, they don't understand why

  npm test
works and why they don't need

  npm "test"
Re: by alganet on Thursday December 22, 2022 @11:25AM (#34095061)
That's just lazy. How that works is on any shell man page. If you fiddle with it a little bit you figure it out:

    set -- "foo"
    echo $#
    set -- foo
    echo $#
    set -- "foo bar"
    echo $#
    set -- foo bar
    echo $#
Of course, people just want their commands to run and not learn a whole new language. Then I come back to my initial point: the language itself is small and easy to remember once you internalize it, what makes it scary is the umbrella of different command line utilities that _seems_ to be a part of the language but it's not.