pkgsrc-Bugs archive

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

Re: pkg/51332



Hi, 

gfind:
% gfind * -maxdepth 0 -type f
file1
file2

Solaris's find:
% find . ! -name . -prune -type f
./file1
./file2

To obtain only file names using -prune,  it may be something like following:

% find . ! -name . -prune -type f | awk -F/ '{print $NF}'

I hope this might help.

Sincerely yours,

Hiroshi Hakoyama
hako%affrc.go.jp@localhost




On 2016/08/03, at 17:55, coypu%SDF.ORG@localhost wrote:

> The following reply was made to PR pkg/51332; it has been noted by GNATS.
> 
> From: coypu%SDF.ORG@localhost
> To: gnats-bugs%netbsd.org@localhost
> Cc: 
> Subject: Re: pkg/51332
> Date: Wed, 3 Aug 2016 08:52:07 +0000
> 
> OK, this doesn't work for me. no idea why... find gives the exact same
> result.
> 


Home | Main Index | Thread Index | Old Index