Thanks Andrew, however, my understanding of
command1; command2;
is that command2 will run regardless of whether command1 has completed
successfully...however, your link to
command1; and command2
is exactly what I was looking for -- thanks!
__________________________________________
*(206) 414-8475*
hryanjones.com
On Sun, Aug 11, 2013 at 2:15 PM, Andrew Kreps <andrew.kr...@gmail.com>wrote:
> Also, there are apparently and/or operators, though I haven't used them.
>
> http://ridiculousfish.com/shell/user_doc/html/commands.html#and
>
>
> On Sun, Aug 11, 2013 at 2:14 PM, Andrew Kreps <andrew.kr...@gmail.com>wrote:
>
>> command ; command ; command ; etc
>>
>>
>> On Sun, Aug 11, 2013 at 2:10 PM, H. Ryan Jones <hryanjo...@gmail.com>wrote:
>>
>>> One thing that I really like about bash is the ability to string
>>> together (especially for long running commands), commands to execute one
>>> after another, but only when the previous command succeeded.
>>>
>>> An example:
>>>
>>> s3cmd put 7.zip s3://my_bucket && s3sign.sh my_bucket 7.zip 600
>>>
>>> (the above would put 7.zip into an S3 bucket, which could take a long
>>> time if 7.zip is big, then generate a signed URL)
>>>
>>> Is there a way to do this in Fish? I couldn't quickly find anything in
>>> the user
>>> documentation<http://ridiculousfish.com/shell/user_doc/html/commands.html>
>>> .
>>>
>>> Thanks!
>>> Ryan
>>> __________________________________________
>>> *(206) 414-8475*
>>> hryanjones.com
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Get 100% visibility into Java/.NET code with AppDynamics Lite!
>>> It's a free troubleshooting tool designed for production.
>>> Get down to code-level detail for bottlenecks, with <2% overhead.
>>> Download for free and get started troubleshooting in minutes.
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Fish-users mailing list
>>> Fish-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/fish-users
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> Get 100% visibility into Java/.NET code with AppDynamics Lite!
> It's a free troubleshooting tool designed for production.
> Get down to code-level detail for bottlenecks, with <2% overhead.
> Download for free and get started troubleshooting in minutes.
> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users