A good solution as well although the '/g(lobal)' option is a bit unnecessary (there will be no more than 1 beginning of line).Added benefit is that you can use 'sed -i' and replace everything inline and not need a second file for (temporary) output.

A good solution as well although the '/g(lobal)' option is a bit unnecessary (there will be no more than 1 beginning of line).Added benefit is that you can use 'sed -i' and replace everything inline and not need a second file for (temporary) output.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum