Re: simple genstrings question
Re: simple genstrings question
- Subject: Re: simple genstrings question
- From: Ondra Cada <email@hidden>
- Date: Wed, 19 Sep 2001 10:32:21 +0200
Steve,
>
>>>>> Steve Gehrman (SG) wrote at Tue, 18 Sep 2001 22:30:37 -0700:
SG> Is there a simple way to take a whole folder of source and feed it to
SG> genstrings? I'm sure there must be some unix command to pipe the output
SG> of ls or something. It would be a pain to have to manually type in
SG> every file name.
I haven't used genstrings for awhile, and don't remember its quirks. But
here are some patterns you can generally use:
170 /tmp/test\> touch aa bb cc
171 /tmp/test\> echo *
aa bb cc
172 /tmp/test\> ls | cat
aa
bb
cc
173 /tmp/test\> echo `ls`
aa bb cc
174 /tmp/test\> for i in *
for> echo $i
aa
bb
cc
175 /tmp/test\>
Note the for syntax slightly differs for different shells.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc