3 ms·
> Do you remember which flags on grep are POSIX-only, and which are extensions provided by the GNU version? Use the posix man pages as reference. `man 1p grep`
by blueflow 4y ago
> Do you remember which flags on grep are POSIX-only, and which are extensions provided by the GNU version?
Use the posix man pages as reference. `man 1p grep` and you only see the portable options. Its only one step away from using the regular manpages.
- abathur 4y agotil :)
- Karellen 4y agoWorth noting that `man-pages-posix` is not under any kind of Free/Open Source/CC-style license, so may not be available by default for your OS. e.g. in Debian you have to enable the `non-free` section to make them apt-installable.
- justaj 4y agoUnfortunately doesn't seem to be present on all systems: No manual entry for grep in section 1p See 'man 7 undocumented' for help when manual pages are not available. Ubuntu 18.04 here
- lmz 4y agoInstall the `manpages-posix` package: https://packages.ubuntu.com/bionic/all/manpages-posix/filelist https://packages.ubuntu.com/bionic/all/manpages-posix/fileli...