Re: [Hampshire] On-line Banking (Not entirely O.T.)

Top Page

Reply to this message
Author: Lisi
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] On-line Banking (Not entirely O.T.)
On Thursday 15 July 2010 15:20:39 Victor Churchill wrote:
> On 15 July 2010 14:42, Jack Knight <jfk@???> wrote:
> > On 15/07/10 14:08, Vic wrote:
> >>>> perl -e 'print reverse<>'<input.csv>output.csv
> >>>
> >>> Yes, but because Python is more legible I stand a better chance of
> >>> understanding what it does when I come to re-read it. Not like that
> >>> gibberish.
> >
> > Pedant's corner: "that gibberish" isn't even all perl  - the redirects
> > are basic *ix shell !
>
> Of the Perl bit, 'print' and 'reverse' can hardly be called gibberish,
> so it must be the '<>'.


Given that I am a Perl and Python ignoramus, I might easily have found both
gibberish (or anyhow, unintelligible, which really isn't the same thing). I
found the "perl" almost fully comprehensible at first sight. A quick google
furnished the meaning of "-e", which was the bit I didn't understand.

It may well be generally true that Perl looks like gibberish to a Python user,
but I don't see how it can have been in this particular case.

Lisi