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

Re: Bash Session



> The CL really shines with complex tasks, and this is where people's eyes glaze
> over.  For example, I convert a directory of .wav files to .mp3 files on a

I think of it more that the cl shines when doing multi-step tasks.
"Find all the .odt files on the hard drive" is just as easy through
gui or cl.  "Move all the .odt files on the hard drive into this
folder" is vastly more time-consuming on the gui even though it's not
particularly hard to understand (and shouldn't make people give you
goat eyes).

People who are coming from a windows environment or are otherwise new
to cl uses don't realize how many tedious tasks can be done very
simply through a cl and some scripting, even without using the most
basic of flow control (like conditionals).  My other advice to the OP
would be to show your class the BASH way to do stuff that takes
multiple steps (and a lot of careful looking and clicking) through a
gui.

hope that helps,
jeff

On Mon, Apr 27, 2009 at 5:44 AM, Mark Neidorff <mark@neidorff.com> wrote:
> On Saturday 25 April 2009 12:57 pm, Kurian Thayil wrote:
>> Hi All,
>>
>> Planning to give a small demo on BASH scripting in a LUG community.
>> Audience will be school teachers and basic home users and thus are
>> beginners. Thinking on how to present simple and some example scripts that
>> will make them more interesting and love command line. Need some
>> suggestions.
>>
>> Its always difficult to think simple and easy. :-) So I've quite confused
>> here on how and what to present. Any help?????
>>
>> Regards,
>>
>> Kurian Thayil.
>
> You ask a lot!!!  Love the CL?????
>
> How about a side by side comparison for copying a set of pictures from a
> memory chip to a folder?  IMO, you are not going to create CL converts.  The
> best you can hope for is that folks will be able to use the CL as another
> tool.
>
> The CL really shines with complex tasks, and this is where people's eyes glaze
> over.  For example, I convert a directory of .wav files to .mp3 files on a
> regular basis.  I use "lame" to do it and the command for a single file is
> really simple.  I've attached "autolame"  (A script which I downloaded and
> did a little customizing on) which nicely automates the task.  Take a look.
> Imagine trying to teach the ins and outs of that script!  Also there is a
> "bash scripting guide" out there on the net.
>
> Mark
>


Reply to: