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

Re: [ProgSoc] Asking for help from the sed heads



> I'm soon going to just write this in C      <sigh>

c is for number style code. Perl is for strings and patterns (obivously
both do a lot more)

> Does anyone know the relative portability issues with using sed,
> awk, perl and just writing it in C? Which ones are more commonly installed
> and why? I don't want to commit to using something and then find
> that it's not there when I want it.

perl is pretty much completely portable if you don't embed shell calls. It
should port between any system which has perl (including dos, and pretty
much every os in exsitance). sed and awk assume a unix-style system. I
think they are pretty portable ithin this scope tho. C needs to be
compiled on each system it is run on, while the others don't. 


\/|<

Victor Rajewski
vik@nospam.progsoc.uts.edu.au
http://www.progsoc.uts.edu.au/~vik

`Man will occasionally stumble over the truth, but most of the time he
will pick himself up and continue on'
           - Winston Churchill, British statesman and writer (1874-1965)


--
You are subscribed to the progsoc mailing list. To unsubscribe, send a
message containing "unsubscribe" to progsoc-request@nospam.progsoc.uts.edu.au.
If you are having trouble, ask owner-progsoc@nospam.progsoc.uts.edu.au for help.

This list is archived at <http://www.progsoc.uts.edu.au/lists/progsoc/>