This file contains hidden or 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
sed "s/foo/bar/g" $1 > temp && rm $1 && mv temp $1 |
This file contains hidden or 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
// normalize('NFD') => Normalization Form Canonical Decomposition | |
// replace(/[\u0300-\u036f]/g, '') => replaces all characters that are in the range of U+0300 -> U+036F | |
str.normalize('NFD').replace(/[\u0300-\u036f]/g, '') |
NewerOlder