bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RFE: allowing "" as a path specification for 'current dir' w/o prependin


From: L A Walsh
Subject: RFE: allowing "" as a path specification for 'current dir' w/o prepending './' ?
Date: Mon, 20 Feb 2017 11:52:20 -0800
User-agent: Thunderbird


Would it be possible or not unduly difficult to change
'find' to recognize/allow a null path ("") specifically
to allow find to start at the current directory (much like
not specifying any paths), BUT also suppress the prepending
of "./" at the beginning of every result?

Almost every usage of "./" in a find is, at some point,
followed by a stripping of "./" -- somewhere, in subsequent
use.

This would allow a backwards compatible way of forcing
a null-path onto the front of returned values.

Possible?
Thanks!
-linda




reply via email to

[Prev in Thread] Current Thread [Next in Thread]