mplayer-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Original]

[MPlayer-users] Re: Re: video out on two screens


To: mplayer-users@xxxxxxxxxxxx
Subject: [MPlayer-users] Re: Re: video out on two screens
From: Stefan Seyfried <seife@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 10 Dec 2004 17:31:55 +0100
Delivered-to: itdp@localhost
Delivered-to: mplayer-users@mplayerhq.hu
In-reply-to: <200412032038.28659.us-@gmx.de>
References: <m3mzwyl1jt.fsf@netmaster.kds.com.ua><200412031850.06826.us-@gmx.de><20041203185423.GA4884@rz.uni-karlsruhe.de><200412032038.28659.us-@gmx.de>
User-agent: Mutt/1.5.6i

On Fri, Dec 03, 2004 at 08:38:28PM +0100, Ulrich Schweitzer wrote:

> If you intend to distribute it, I suggest you put in
> PWD=`pwd`
> and
> cd $PWD
> as first and last lines, respectively. It is very bad form for a script to 
> return in a different dir than the on it was called from. Otherwise 
> people might nuke their system by calling something like
> mplmult.sh && cd .. && rm -rf *

only if they are calling it with
. mplmult.sh
and then they deserve it :-)
The script runs in a subshell and wherever you chdir in it, it won't affect
your cwd.
-- 
Stefan Seyfried

_______________________________________________
MPlayer-users mailing list
MPlayer-users@xxxxxxxxxxxx
http://mplayerhq.hu/mailman/listinfo/mplayer-users


[Prev in Thread] Current Thread [Next in Thread]