mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
11 lines
235 B
Bash
Executable File
11 lines
235 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Removes UTF-8 BOM from a file list on STDIN
|
|
# Use by piping the output of a findutf8bom script
|
|
#
|
|
# Raphaël Doursenaud - rdoursenaud@gpcsolutions.fr
|
|
while read f; do
|
|
echo "Fixing $f"
|
|
sed -i '1s/^\xEF\xBB\xBF//' $f
|
|
done
|