pkgsrc-Bugs archive

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

Re: pkg/51332



The following reply was made to PR pkg/51332; it has been noted by GNATS.

From: Hiroshi Hakoyama <hako%affrc.go.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: solaris-pkg-people%NetBSD.org@localhost,
 gnats-admin%netbsd.org@localhost,
 pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/51332
Date: Wed, 3 Aug 2016 19:31:02 +0900

 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