[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Getting the current directory in a service menu
From:       "ne..." <akabi () speakeasy ! net>
Date:       2003-09-08 14:12:24
[Download RAW message or body]

On Sep 8, 2003 at 15:53, Ladislav Strojil in a maddening rage wrote:

>On Monday 08 of September 2003 13:52, ne... wrote:
>> In Linux for <command> to act on files in <dir> you would
>> have to do:
>>
>> 	cd <dir> && <command>
>
>Why? With "cd <dir> ; <command>" both cd and <command> are run within the same 
>shell so the "cd" _does_ change the working directory for command. 
I have deleted files I didn't want to when I thought this was the
case. If the cd <dir> fails, do you really want to execute <command>?
Just being a little bit pedantic.

BTW, I am subscribed to kde-devel.


-- 
Registered Linux User # 125653 (http://counter.li.org)
Switch to: http://www.speakeasy.net/refer/190653
Please keep your hands off the secretary's reproducing equipment.
 10:10:03  up 14 days, 21:44,  4 users,  load average: 0.09, 0.03, 0.01
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic