This is a script I had done to remove an incorrect character I had in some files:
#!/bin/bash for e in $(grep -R "|" /var/lib/files/* | cut -d: -f1) do tr -d '|' < $e > $e done
This is a script I had done to remove an incorrect character I had in some files:
#!/bin/bash for e in $(grep -R "|" /var/lib/files/* | cut -d: -f1) do tr -d '|' < $e > $e done