Mailing List Archive


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

Re: [tlug] Alternatives to sed + awk



2011年 3月 3日(木)11:08 am に Raymond Wan さんは書きました:
>
> On 03/03/11 02:19, Nguyen Vu Hung wrote:
>> I am looking for a tool that replaces PHP which is easy to use and and
>> has
>> easy to remember syntax.
>>
>
> I know little about Python, but I usually hear that Python
> is good for rapid prototyping while Perl is good for text
> processing.  Mind you, if your data is simple, then Unix
> tools such as head, tail, cut, wc, and grep might work for you.
>

Python's major advantages: readability and sane syntax; it handles
multiple encodings properly natively, regexes with Japanese just work. It
works just as well for scripts, prototyping and real systems.

Any time you find yourself using more than two of the above Unix tools for
anything other than a one-time one-liner, you are better off with a real
scripting language.





Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links