Just to provide additional information:
SLED10 provides grep with -P installed in the following paths:
> ls -l /usr/bin/grep /bin/grep -rwxr-xr-x 1 lmwadmin root 134252 2006-06-16 09:50 /bin/grep lrwxrwxrwx 1 lmwadmin root 9 2007-05-16 07:36 /usr/bin/grep -> /bin/grep
Fedora Core 2 (old, but I have none more recent to test) provides grep with -P installed in the following paths:
> ls -l /bin/grep -rwxr-xr-x 1 root root 85360 Jun 28 2005 /bin/grep
Is it that costly to add Perl regex to grep under /bin? The two other major distributions do not believe so.
Just to provide additional information:
SLED10 provides grep with -P installed in the following paths:
> ls -l /usr/bin/grep /bin/grep
-rwxr-xr-x 1 lmwadmin root 134252 2006-06-16 09:50 /bin/grep
lrwxrwxrwx 1 lmwadmin root 9 2007-05-16 07:36 /usr/bin/grep -> /bin/grep
Fedora Core 2 (old, but I have none more recent to test) provides grep with -P installed in the following paths:
> ls -l /bin/grep
-rwxr-xr-x 1 root root 85360 Jun 28 2005 /bin/grep
Is it that costly to add Perl regex to grep under /bin? The two other major distributions do not believe so.