On Saturday 09 April 2011, Ralf Wildenhues wrote: > > But independently of bracket expressions, Posix also specifies that ^ > and $ are not special when they are not first or last characters in a > regex, respectively. This is what makes object file names of the form > foo^bar.o and foo$bar.o acceptable. Even ^foo.o, since our sed regex > does not start with $object. > Good. BTW, I didn't know this `^' and `$' behaviour was mandated by POSIX. I've learnt something new today, at least :-)
Thanks, Stefano