[Haifux] advanced of programming in Linux

Gabor Szabo szabgab at gmail.com
Mon Nov 2 14:49:13 MSK 2009

IMHO it is not only about "better" is also that by having a broader knowledge
you increase your value and your chances to get a job.

Interestingly recently I more and more see companies that use Linux.
Even as the developer desktops.

On Mon, Nov 2, 2009 at 1:26 PM, Orna Agmon Ben-Yehuda
<ladypine at gmail.com> wrote:
> On Mon, Nov 2, 2009 at 1:02 PM, Shahar Dag <dag at cs.technion.ac.il> wrote:
>> Hello all
>> mix & match is just a buzzword.
> Change all files foo* to bar*. Easy with make or a shell loop, I am not
> familiar with a convenient ready-made tool.

I can give you another, similar examples.

Replace the word Java by C# in every .txt file in a directory structure.
Replace the field A4 in every Excel (.xls) file in a directory structure.
Sum the 3rd column of every Excel file in a directory structure.

I am sure you can write it in Windows shell but I am quite confident it
is much simpler to write the above two either as a shell or as a perl script.

Repeating tasks - History.
Many tasks we do are repeating the same command in a slightly different way.

The Linux/Unix version might  need you to type in a 20-30 character
long command.
The windows version might be shorter and and might require less things
to remember.
It might involve clicking on 5 buttons and typing 2 strings.

BUT, the next time you have to do the task - or a similar task - in
the windowing system you will
have to repeat the whole sequence while in a unix/linux shell where
you have a history and
strong editing capabilities you can reuse the precious solutions.

In the end I am not sure the way to go is to advocate Unix/Linux. It
might be to direct them to the
command line, some high-level scripting language and maybe even cygwin
to put them on the
road in the direction....

Some of them will arrive.


More information about the Haifux mailing list