Created
May 16, 2023 14:26
-
-
Save Aisuko/730ae02d5905650da0b1b5ab59e97d82 to your computer and use it in GitHub Desktop.
Shell command for replacing files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@count=$$(find ./go-bert -type f -name "*.c" -exec sh -c "sed 's/ggml_/ggml_bert_/g' {} > {}.tmp && mv {}.tmp {}" \; -print | wc -l); \ | |
echo "Edit *.c file:$$count" |
Author
Aisuko
commented
May 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment