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