On Tuesday 14 November 2006 04:16, kitts wrote:
> On Tuesday 14 November 2006 01:11 IST, Nigel Henry
wrote:
> > Thanks Kitts. That's worked first go. I thought
I'd have to cd to the
> > working directory first before running the
command, but wasn't sure how
> > to go after cd'ing. What does the
"&&" actually do?
>
> It's the bash scripting language.
"&&" means to execute the command on the
> left and if it is successful execute the command on the
right. Before i
> replied to you i had tried something similar but used
";" (semicolon)
> instead of "&&". The only difference
using the semicolon is that continue
> with the command on the right even if the command on
the left fails.
>
> You might want to pick up some guide on bash scripting
to lean more. It is
> quite powerful!
Hi Kitts. yes I appreciate that. I have been through the man
pages for bash,
and it's pretty hard going. It would be nice if there were
some examples that
you could try, with explanations as to what these scripts
were doing. Any
suggestions, apart from the man pages?
Nigel.
___________________________________________________
This message is from the kde mailing list.
Account management: https://ma
il.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.h
tml.
|