unix sed with */;

April 20, 2011 at 05:45:57
Specs: Windows 7
I was sent a script from a unix environment and am trying to figure out what this command is actually doing. I am working in a windows environment and need to know how to edit the file to achieve the same results.
The complete command line is
cat RUNSEQFIX.DDL | sed 's/; */;/'>ALTERSEQS.DDL

See More: unix sed with */;

April 21, 2011 at 06:33:42
This sed script is removing all the spaces after the semicolon in each line of file RUNSEQFIX.DDL and creating file ALTERSEQS.DDL.

Beware that it only converts the first semicolon in each line of the file. If you have more than one semicolon in a line, the spaces with that semicolon is not changed.

Report •
Related Solutions

Ask Question