Re:GitHub – nushell/nushell: A new type of shell
by rjzzleep on Wednesday June 16, 2021 @04:13AM
(#27526124)
I find cut easier to use than remembering awk syntax. So I get where you're coming from, but it's just a tad disingenuous don't you think? Especially since `free` `man free` is definitely easier to remember than Get-Whateverfunctioncall is
[ Parent
| on HN ]
Re:GitHub – nushell/nushell: A new type of shell
by vips7L on Wednesday June 16, 2021 @08:01AM
(#27527533)
Is it easier? Because I would expect man free to go to the C stdlib.h definition.
You’re just familiar with the former and not the latter currently.
Re:GitHub – nushell/nushell: A new type of shell
by rjzzleep on Wednesday June 16, 2021 @10:11AM
(#27528666)
Your assumption is wrong. Why would you double down on a bad argument? Don't you have a linux environment to type man free in before making that claim?
It's just an overall bad argument. I don't see how `Get-CimInstance -Class Win32_OperatingSystem` is in any way memorable
Re:GitHub – nushell/nushell: A new type of shell
by vips7L on Wednesday June 16, 2021 @02:58PM
(#27532154)
How is expecting man free to point to the stdlib function a bad argument? man malloc goes to the function so why shouldn't man free? How would anyone just know that the command free exists _without already being familiar with a linux environment_ ?
Re:GitHub – nushell/nushell: A new type of shell
by reallydontask on Wednesday June 16, 2021 @10:55AM
(#27529200)
man free for me shows the BSD library functions manual, maybe it's different in Linux
Re:GitHub – nushell/nushell: A new type of shell
by Arnavion on Wednesday June 16, 2021 @03:05PM
(#27532214)
It's the same on Linux, depending on what manpages you have installed. free(1) is the binary. free(3) and free(3p) are the C function.
If you have more than one installed, `man` might decide to show the first one or it may interactively ask you to pick one, depending on whether it's been configured to be "posixly correct" or not.
Re:GitHub – nushell/nushell: A new type of shell
by rjzzleep on Wednesday June 16, 2021 @11:20PM
(#27535838)
procps may not be installed by default on BSDs or VMS or whatever other *nix flavour the person has. But then again quite a few of those systems also don't use bash as default shell(or at least didn't use to), so when the person above asks about "writing a bash script to just do" it's safe to make some assumptions about the target audience.