3 ms·
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 `fre
by rjzzleep 5y ago
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
- vips7L 5y agoIs 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.
- rjzzleep 5y agoYour 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 https://www.google.com/search?q=man+free https://www.google.com/search?q=man+free
- reallydontask 5y agoman free for me shows the BSD library functions manual, maybe it's different in Linux
- Arnavion 5y agoIt'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.
- rjzzleep 5y agoprocps 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.
- vips7L 5y agoHow 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_ ?