The NetBSD Project

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

[BACK] Up to [] / src / usr.bin / realpath

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.3 / (download) - annotate - [select for diffs], Thu Jul 21 09:51:53 2022 UTC (19 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, HEAD
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Add missing comma.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 21 09:47:31 2022 UTC (19 months ago) by kre
Branch: MAIN
Changes since 1.1: +58 -7 lines
Diff to previous 1.1 (colored)

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 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:46 2020 UTC (3 years, 10 months ago) by martin
Branch: phil-wifi
Changes since +81 -0 lines
Diff to previous (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Mostly merge changes from HEAD upto 20200411

Revision, Sun Feb 2 21:49:44 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 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) - annotate - [select for diffs], Sun Feb 2 21:49:44 2020 UTC (4 years ago) by kamil
Branch: 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.

This form allows you to request diff's 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.

CVSweb <>