Sujet : Re: Aide pour scan clé usb avec Ubuntu
De : schaefer (at) *nospam* alphanet.ch (Marc SCHAEFER)
Groupes : fr.comp.os.linux.configurationDate : 14. May 2022, 16:02:03
Autres entêtes
Organisation : Posted through ALPHANET
Message-ID : <t5og9b$4pf$1@shakotay.alphanet.ch>
References : 1 2 3 4 5 6
User-Agent : tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64))
Jacques L'helgoualc'h <lhh+
news-no_spam@free.fr.isnt.invalid> wrote:
... si, quand l'espace est insécable :)
hihi, écrire autre chose que de l'ASCII dans un fichier bash, en
particulier à la ligne #! est effectivement très dangereux.
De même, certains éditeurs de texte sous Microsoft ajoutent un BOM pour
indiquer l'ordre des octets (big-endian/little-endian) au début du
ça fait pas BOM, mais ça fait BOUM.
Exemple:
$ hexdump -C 06_Couche_presentation/exemples/shell/utf8bom.sh
00000000 ef bb bf 65 63 68 6f 20 22 c3 a7 61 20 66 6f 6e |echo "ça fon|
00000010 63 74 69 6f 6e 6e 65 3f 22 |ctionne?"|
bash 06_Couche_presentation/exemples/shell/utf8bom.sh
06_Couche_presentation/exemples/shell/utf8bom.sh: line 1: echo: command not found