sed misbehaving?
Dan
dan at danneh.org
Mon Aug 27 04:11:55 PDT 2007
echo 'ABC'|sed 's/a/z/p'
the p flag at the end makes it case sensitive. so in this instance, the
above will output "ABC".
echo 'ABC'|sed 's/A/z/p'
will output zBC.
Dan
Danny Braniss wrote:
> Since noone is complaining, this must be an oversite on my part, but
> echo 'ABC'|sed 's/a/z/'
> results in
> zBC
> what did i miss?
>
> thanks,
> danny
>
>
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
>
>
>
More information about the freebsd-current
mailing list