[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: Ladislav Strojil <Ladislav.Strojil () seznam ! cz>
Date: 2003-09-08 14:22:58
[Download RAW message or body]
On Monday 08 of September 2003 16:12, ne... wrote:
> 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>?
Oh, I see. So slightly more explicit wording would be:
> In Linux for <command> TO ACT ONLY ON FILES THAT IN <dir> you would
> have to do:
> cd <dir> && <command>
But I get your point. :-) You're right.
> BTW, I am subscribed to kde-devel.
Well, Reply-To header contains your address so don't be surprised when people
send you copies.
Cheers,
Láïa
--
~ Ladislav Strojil, MFF UK
' v '
// \\
/( )\ Powered by Penguin.
^ ' ^
>> 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