From: Ian Pease (I.Pease@esteem.co.uk)
Date: Fri Feb 03 2006 - 05:23:38 EST
Hi gurus
I have a developer who has discovered the following problem within the
Solaris operating system :-
Under solaris 6 the following code worked fine :-
sed 's/.\{255\}.\{255\}.\{189\}//' temp (this basically
searched for and brought back a postcode from a text file)
However, the same code as above no longer works under Solaris 8 and 9
(it brings back nothing). Has there been a change in the operating
system that has not been documented?
In order to now get this code to work, he has to run it as the following
:-
sed 's/.\{254\}.\{254\}.\{191\}//' temp
The man page that he has checked for this is the "regexp" page. It
states (in Solaris 2.6 and 8) that the values must be less than 256 in
length.
The code that he uses has not changed what has
tia
Ian
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:38:50 EDT