-
Jean-Christophe Fillion-Robin authored
The following script allows to automatically update all files: #!/bin/sh for file in $(find . -type f -name '*\.cmake' -o -name '*\.txt' -o -name '*\.ctest') do echo "Processing file [$file]" for cmd in $(cmake --help-command-list) do sed -i "s/${cmd}(/${cmd}(/gI" $file done done
Jean-Christophe Fillion-Robin authoredThe following script allows to automatically update all files: #!/bin/sh for file in $(find . -type f -name '*\.cmake' -o -name '*\.txt' -o -name '*\.ctest') do echo "Processing file [$file]" for cmd in $(cmake --help-command-list) do sed -i "s/${cmd}(/${cmd}(/gI" $file done done