The NetBSD Project

CVS log for src/usr.bin/realpath/realpath.1

[BACK] Up to [cvs.NetBSD.org] / src / usr.bin / realpath

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu Jul 21 09:51:53 2022 UTC (2 years, 6 months ago) by wiz
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-1-RELEASE, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +3 -3 lines
Add missing comma.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Jul 21 09:47:31 2022 UTC (2 years, 6 months ago) by kre
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +58 -7 lines
Make realpath(1) compat with the planned (not yet approved) specification
for POSIX.8 (its next version).   (Should the requirements change, the code
here can be updated).

This adds two new options.  -e and -E
-e just tells realpath to do what it has done since it was imported here.
-E makes realpath more compatible with the coreutils version, and allows
   the final component of the path to not exist (the final component after
   all symlinks have been expanded, not of the arg on the command line - though
   that one not existing is one case of the more general spec.).

POSIX is not going to specify which of those is the default - instead is
planning to require users to always explicitly specify one.

The default (now) here is -E.   This makes us more compat with coreutils.
realpath was added in the first place because it is (apparently) used in
real world scripts - the more we can support, the better.

Note that in all cases where realpath -e succeeds, realpath -E will succeed
as well.   This means that any uses of "realpath file" that have been
working in HEAD will still work.   Some cases that would have failed
will work (by default) now.

Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:46 2020 UTC (4 years, 10 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.4.1: +81 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.1.4.1
Sun Feb 2 21:49:44 2020 UTC (5 years ago) by martin
Branches: phil-wifi
FILE REMOVED
Changes since revision 1.1: +0 -81 lines
file realpath.1 was added on branch phil-wifi on 2020-04-13 08:05:46 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Feb 2 21:49:44 2020 UTC (5 years ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: phil-wifi
Port realpath(1) from FreeBSD

realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>