Re: Enhancement request for 'locate'

James Youngman <[email protected]>
Newsgroups gmane.comp.gnu.findutils.bugs
Message-ID <CAGwX765icDsjxECh6kLiPsUSMX_dvHhV=WE=QA5ZSQxEvYLxrQ@mail.gmail.com>
>
>
>
> locate-ls() {
>    locate -0 "$@" | xargs -0 ls -ld
> }
>
>
I'd suggest using -r there also, so that if no files are found, the user
doesn't get a surprising listing of just "." (with its mod-time and so
forth).
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.