This is the mail archive of the
mailing list for the Cygwin project.
Re: chase-0.5 - a new package for rewiev
- From: letters at hotpop dot com (Jari Aalto+mail.linux)
- To: cygwin-apps at cygwin dot com
- Date: Sun, 15 Jun 2003 00:55:10 +0300
- Subject: Re: chase-0.5 - a new package for rewiev
- Keywords: chase,symlinks,option,file,record,names,line,readlink
- References: <firstname.lastname@example.org> <3EEB92EF.email@example.com>
* Sat 2003-06-14 Charles Wilson <firstname.lastname@example.org> list.cygwin-apps
* Message-Id: <3EEB92EF.email@example.com>
> Jari Aalto+mail.linux wrote:
>> Debian package 'chase' has been ported. Please review.
> How does this differ from namei, readlink, or realpath, all part of the
> cygutils package?
> namei - follow a pathname until a terminal point is found
> readlink - display target of symbolic link on standard output
> realpath - Print PATH with all references to `.', `..', and symlinks
Debian also has namei(1), readlink(1) and chase is one utility more.
In 'chase', there are couple of interesting options:
Treat the file names on the command line as sources for names to
be chased. If this option is present, chase will read in each
of the files given on the command line (both a sole dash "-" and
the absence of file names will be taken as meaning the standard
input stream). Each line in the files is taken as a verbatim
file name that will be chased like it had been given on the com-
mand line of a run without this option. There is no means for
quoting the newline character; therefore only file names that do
not contain newlines can be specified via the files. This
restriction is lifted by the -0 option, though. However, lit-
eral spaces are preserved and are not interpreted as special.
Normally chase keeps a record of all symlinks it has visited
when chasing the current file. It uses this record to reliably
detect symlink loops. However, checking the record slows the
process a little (more for long chains of symlinks) and the
record requires a small amount of memory (more for long chains
of symlinks), so it may be desirable in some cases to inhibit
this check. This option disables this loop detection and the
associated recording of visited symlinks. When this option is
in effect (assuming no bugs in the related code) chase runs in
constant space and linear time relative to the length of the
symlink chains encountered.
Swatch @time http://www.ryanthiessen.com/swatch/resources.htm
Convert @time http://www.mir.com.my/iTime/itime.htm