source:
dynamico_lmdz/simple_physics/bash/remove_quote_in_comments.sh
| Last change on this file was 4235, checked in by , 6 years ago | |
|---|---|
| File size: 314 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/bash |
| 2 | |
| 3 | # some quotes in French-language comments break strict conformance to F2003 |
| 4 | # this script removes them but could affect real strings ending with a single l or d after a space |
| 5 | # => check with svn diff after applying |
| 6 | |
| 7 | for x in $* ; do |
| 8 | sed -i -e "s/ l'/ l /g" $x |
| 9 | sed -i -e "s/ d'/ d /g" $x |
| 10 | done |
Note: See TracBrowser
for help on using the repository browser.
