Date:        Thu, 24 Feb 2022 15:57:08 +0000
    From:        "Geoff Clare via austin-group-l at The Open Group" 
<[email protected]>
    Message-ID:  <20220224155708.GA912@localhost>

  | Does it have the same last-component-need-not-exist behaviour as the
  | GNU coreutils default, or is it just a wrapper round realpath(3)?

Just a wrapper.   The substance of the thing is an 8 line loop, the
rest (about 60 lines total, ie: another 50+, not counting the boilerplate
copyright/licence comments at the start) is the standard stuff - blank lines,
includes, declarations, the getopt() loop for the 1 option (-q) supported, and
a usage() function.

The NetBSD version came from FreeBSD, so unless theirs has been updated
recently, it will be the same.

You can see the NetBSD one at:
        http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.bin/realpath/

kre

ps: we don't have the absurd -L option either of course, but we don't
to cd -L either, that whole "logical path" thing is garbage that has
long past its use-by date.


  • [1003.1(2016... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
    • [1003.1... Austin Group Bug Tracker via austin-group-l at The Open Group
      • Re:... Robert Elz via austin-group-l at The Open Group
        • ... Geoff Clare via austin-group-l at The Open Group
        • ... Robert Elz via austin-group-l at The Open Group
          • ... Geoff Clare via austin-group-l at The Open Group
          • ... Robert Elz via austin-group-l at The Open Group
          • ... Robert Elz via austin-group-l at The Open Group
            • ... Geoff Clare via austin-group-l at The Open Group
              • ... Steffen Nurpmeso via austin-group-l at The Open Group
            • ... enh via austin-group-l at The Open Group
              • ... Steffen Nurpmeso via austin-group-l at The Open Group
            • ... Robert Elz via austin-group-l at The Open Group
              • ... enh via austin-group-l at The Open Group
                • ... Thorsten Glaser via austin-group-l at The Open Group

Reply via email to