Quoth [email protected]:
> I did all the work myself. If you choose to be dismissive, that is your
> prerogative. The original question remains unanswered; you have only
> complained and criticized, doing little to address it.
>
uh huh. So, when you ran this code:
> #!/bin/rc
>
> fn mirror {
> source=$1
> target=$2
>
> for block in `{ls $source/*} {
> cp $block $target/$block
> }
> }
>
> mirror /srv/venti/arena1 /srv/venti/mirror1
> mirror /srv/venti/arena2 /srv/venti/mirror2
what was the output? what are the contents of /srv/venti?
what is the syntax for a for loop in rc?
*nothing* in that snippet will work.
you are lying to people, and wasting their time.
------------------------------------------
9fans: 9fans
Permalink:
https://9fans.topicbox.com/groups/9fans/Tca0eb0fbb2404e31-M6ade93583076715a7aba8353
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription