Link to home
Start Free TrialLog in
Avatar of Rothbard
RothbardFlag for United Kingdom of Great Britain and Northern Ireland

asked on

File editing script

I need a program which makes the following changes to all the files in a directory and its subdirectories:

- replace "//" with "///", if the "//" is at the beginning of a line
- replace "//" with "///<" if the "//" is not at the beginning of a line.

I would be very grateful for any help.
ASKER CERTIFIED SOLUTION
Avatar of ozo
ozo
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial