On Sat, 2007-11-10 at 13:45 -0600, Ryan Hill wrote: > William L. Thomson Jr. wrote: > > > Now I know some will scream, puke, throw up in their mouth, and so on. > > But seems like sed should have an OPTIONAL argument or etc to tell sed > > to either fail if it can't make the change anywhere. And/or keep/output > > a count of how many things were modified. > > you could use the w flag to the s command. Nice I will have to play around with that, but surely could make a test that would work to confirm sed did it's job. Down with patches, up with sed :) -- William L. Thomson Jr. Gentoo/Java