Gentoo Archives: gentoo-dev

From: "Matthew J. Turk" <m-turk@×××.edu>
To: gentoo-dev@g.o
Subject: [gentoo-dev] Recurse directories
Date: Mon, 06 May 2002 20:23:30
Message-Id: 1020734609.6286.4.camel@dhcp101047.res-hall.nwu.edu
1 Hi there - I was wondering if there's a portage command to recurse all
2 the directories in a given directory. Anybody? I know I could do a ls
3 -l |grep ^d|cut -cwhatever-1000, but I'm looking for something already
4 *in* portage, if it's available. Ideally, it would be something that
5 would return a list, for use in something like:
6
7 for i in `COMMAND`
8 do
9 ...
10 done
11
12 Thanks!
13
14
15
16 mjt
17 ---------------------------------------------------
18 Matthew J. Turk <m-turk@×××.edu> ICQ: 3856787
19 "Music is the Best." - FZ thecatfishman.org
20 http://pubweb.nwu.edu/~mjt631/spamoff.htm

Replies

Subject Author
[gentoo-dev] Re: Recurse directories Paul <set@×××××.com>