Re: [PATCH] Replace perl code with pure shell code

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

 



merlyn@xxxxxxxxxxxxxx (Randal L. Schwartz) writes:

>>>>>> "Nikolai" == Nikolai Weibull <now@xxxxxxxx> writes:
>
> Nikolai> We do require a POSIX-compliant version of sh already, right?
>
> OK, sorry for raising the flag.  I just know that writing portable shell
> is far trickier than writing portable Perl, so I get overly cautious
> on anything that wasn't in Unix V7.

You seem to be as old fashioned as I am (I grew up with V7
shell).  People complained often enough how antiquated my shell
script (hence many but not all git Porcelain-ish) style is.

I have tried very hard to reject "Hey, it's in POSIX -- we'll
use it and screw platforms that are not exactly POSIX".  I only
use POSIX as a yardstick to decide what to stay away from, as in
"Let's not use ${parameter//pattern/string} -- it is not _even_
in POSIX".

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]