You might give this a try,
http://www.gnu.org/manual/bash-2.02/bashref.html
hth,
kent
Timothy Hospedales wrote:
>
> Hi,
> Where can I find a bash programming HOWTO?
> Im trying to make some scripts to make my life easier but I cant seem
> to decipher the langag
On Sun, Apr 11, 1999 at 03:06:18PM -0400, Timothy Hospedales wrote:
> Hi,
> Where can I find a bash programming HOWTO?
> Im trying to make some scripts to make my life easier but I cant seem
> to decipher the langage by looking at scripts on the system:(.
I just fou
Hi,
Where can I find a bash programming HOWTO?
Im trying to make some scripts to make my life easier but I cant seem
to decipher the langage by looking at scripts on the system:(.
thanks!
Timothy
--
E-Mail: Timothy Hospedales <[EMAIL PROTEC
> You could put the find in a separate script:
>
> find . -print0 | xargs -r0 somestuff.sh
If you go that way, you can just
find . -exec somestuff.sh {} \;
(You might need quotes around the {}.)
Jiri
Michael Meskes <[EMAIL PROTECTED]> writes:
[snip]
> However, this does not work if there are blanks in the filename as $file
> would be incomplete. I cannot simply use -exec for find either since I call
> a function from the same script inside the loop. Finally I need to read some
> input during
Or just use finds' exec option
find . -print -exec "{}" \;
Bob
:wq
P.S. The "{}" expands out to the current file name
- Original Message -
From: Shaleh <[EMAIL PROTECTED]>
To: Michael Meskes <[EMAIL PROTECTED]>
Cc:
Sent: Tuesday, January 19, 1999
On 19-Jan-99 Michael Meskes wrote:
> Hi,
>
> I have a small sh script that does essantially the following:
>
> variable=`find . -print`
>
> for file in $variable
> do
>
> done
>
try:
for file in `find . -print`
do
${file}
done
The braces should help keep the variable consiste
Hi,
I have a small sh script that does essantially the following:
variable=`find . -print`
for file in $variable
do
done
However, this does not work if there are blanks in the filename as $file
would be incomplete. I cannot simply use -exec for find either since I call
a function from
8 matches
Mail list logo