#1 sed execution

open
nobody
None
5
2007-10-11
2007-10-11
Anonymous
No

I'm a developer.

Sometimes I need to replace edItem1, edItem2, edItem3 with tosItem1, tosItem2, tosItem3, or something along those lines.
Or I copy a code structure from one place, then wish to integrate it with data variables copied from another place.
Usually what is one is put one block above the other, select a word, delete it, replace with word from the copied block, and so on and so weiter.

I can make scripts to make the unix command sed do these things for me, but sed works only from commandline, and only on files.

I'd like the ability to put block 1 in slot 1, the relevant script in slot 2, and write something like 'sed $1 $2 > $3' to get the result in slot 3.

Kind regards,
seswu - tvetunge@sol.dk

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks