merge pieces of file together
- by veilig
I have a directory tree of files I need to loop through and reformat the lines. can I do this with sed with some combination of find?
for each file, I'll need to adjust the text in the file from
...
* @category Foo
* @package Bar
...
into just this (Remove the @category line, but prepend the value to the package annotation value)
...
* @package Foo/Bar
...
what is the most efficient way of doing this? its a few hundred files that will be modified.