From elwasif@cs.utk.edu Wed Jun 25 08:58:44 1997 To: Jim Plank Subject: Re: Another solaris bug On Wed, 25 Jun 1997, Jim Plank wrote: > Unless someone can convince me that it is not. > > Try the following on a SunOS machine, and then on a Solaris machine. > > It works correctly on SunOS, but not on Solaris, and it appears to me > to be a bug. This could affect your "fixit" program, so be aware of > it. > > echo ' jIm ' | sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' Actually it seems to be working for me on SUNOS and solaris (depending on which version of sed you use), but not on SGI Wael on kenner> echo ' jIm ' | sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' Dr. Plank Wael on kenner>where sed /usr/bin/sed /bin/sed /usr/ucb/sed Wael on kenner> echo ' jIm ' | /usr/ucb/sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' jIm Wael on kenner> ------------- and on SGI --------------------- Wael on augusta> echo ' jIm ' | sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' jIm Wael on augusta> where sed /sbin/sed /usr/bin/sed /bin/sed Wael on augusta> echo ' jIm ' | /usr/bin/sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' jIm Wael on augusta> echo ' jIm ' | /bin/sed 's/\(\<[Jj][Ii][Mm]\)/Dr. Plank/' jIm