• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: simple genstrings question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >simple genstrings question (From: Steve Gehrman <email@hidden>)

  • Prev by Date: simple genstrings question
  • Next by Date: Re: Drawers -- problem solved
  • Previous by thread: simple genstrings question
  • Next by thread: Re: simple genstrings question
  • Index(es):
    • Date
    • Thread