On 10/14/2005 1:05 PM Will Maier wrote:
On Fri, Oct 14, 2005 at 12:33:07PM -0700, Drew Tomlinson wrote:
[...]
Yet 'echo $i' only returns "/multimedia/Pictures/1998", stopping
at the first space. Is it possible to get 'i' to represent the
whole string that 'find' returns? If so, how?
On 10/14/2005 12:52 PM David Kirchner wrote:
On 10/14/05, Drew Tomlinson <[EMAIL PROTECTED]> wrote:
Sorry to be such a pest today. I'm working on a sh script that uses a
for loop. To test, I've written the following:
for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname
"
On Fri, Oct 14, 2005 at 12:33:07PM -0700, Drew Tomlinson wrote:
[...]
> Yet 'echo $i' only returns "/multimedia/Pictures/1998", stopping
> at the first space. Is it possible to get 'i' to represent the
> whole string that 'find' returns? If so, how?
Bourne-style for loops use as the delimiter b
Drew Tomlinson wrote:
Sorry to be such a pest today. I'm working on a sh script that uses a
for loop. To test, I've written the following:
for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname
"*.gif" -print`
do
echo -e "\n$i"
done
The first line 'find' retur
On 10/14/05, Drew Tomlinson <[EMAIL PROTECTED]> wrote:
> Sorry to be such a pest today. I'm working on a sh script that uses a
> for loop. To test, I've written the following:
>
> for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname
> "*.gif" -print`
> do
> echo
Drew Tomlinson wrote:
Sorry to be such a pest today. I'm working on a sh script that uses a
for loop. To test, I've written the following:
for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname
"*.gif" -print`
do
echo -e "\n$i"
done
The first line 'find' retur
Sorry to be such a pest today. I'm working on a sh script that uses a
for loop. To test, I've written the following:
for i in `/usr/bin/find /multimedia/Pictures -iname "*.jpg" -or -iname
"*.gif" -print`
do
echo -e "\n$i"
done
The first line 'find' returns is "/multimedia/Pict