[Top][All Lists]

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

Re: OT: automation

From: Arne Babenhauserheide
Subject: Re: OT: automation
Date: Wed, 11 Nov 2009 15:27:20 +0100
User-agent: KMail/1.12.3 (Linux/2.6.30-gentoo-r5; KDE/4.3.3; x86_64; ; )

Am Dienstag, 10. November 2009 17:27:13 schrieb olafBuddenhagen@gmx.net:
> > >    find -print0|xargs -0

> Well, it passes the whole file name as a single argument to the command.
> So it handles spaces just fine -- unless of course the command itself
> parses them, which would require additional acrobacy :-)


I think I can se a few of my scripts becoming bash aliases :) 

        find -print0 | shuf -z | xargs -0 mplayer

There goes the good old babplay_randomly.py... :) 

.. or not. I can't control the mplayer from the shell now... seems I don't yet 
understand the commands well enough. 

> The idea is
> actually quite simple (I think I mentioned it somewhere already, perhaps
> in the mail on the netrik ML I linked): every command has both a command
> line, and a GUI representation; you can use either. Furthermore, they
> always reflect each other -- i.e. when you operate some GUI elements,
> the equivalent text command is displayed too; and vice versa. This way
> you can mix both methods in a sigle command for maximum efficiency; and
> it also faciliates learning.
> Perhaps I should just put these three sentences in a blog article and be
> done with it :-)

Yes - It would be one of your shortest entries, I think, but it would be 
perfectly to the point and easy to understand. Put another way: It would be a 
great focus - for netrik, too. 

How can you best reach that goal? 

Best wishes, 

--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
Ein Mann wird auf der Straße mit einem Messer bedroht. 
Zwei Polizisten sind sofort da und halten ein Transparent davor. 

        "Illegale Szene. Niemand darf das sehen."

Der Mann wird ausgeraubt, erstochen und verblutet, 
denn die Polizisten haben beide Hände voll zu tun. 

Willkommen in Deutschland. Zensur ist schön. 
--- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---

Attachment: signature.asc
Description: This is a digitally signed message part.

reply via email to

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