Deutsch   English   Français   Italiano  
<t5og9b$4pf$1@shakotay.alphanet.ch>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.catalyst.alphanet.ch!not-for-mail
From: Marc SCHAEFER <schaefer@alphanet.ch>
Newsgroups: fr.comp.os.linux.configuration
Subject: Re: Aide pour scan =?ISO-8859-1?Q?cl=E9?= usb avec Ubuntu
Date: Sat, 14 May 2022 15:02:03 -0000 (UTC)
Organization: Posted through ALPHANET
Message-ID: <t5og9b$4pf$1@shakotay.alphanet.ch>
References: <lOudnaKvo8jlQuH_nZ2dnUU7_8zNnZ2d@giganews.com> <627f7953$0$18025$426a74cc@news.free.fr> <t5nuu8$tvh$1@shakotay.alphanet.ch> <627fa95d$0$18021$426a34cc@news.free.fr> <t5odf1$p99$2@shakotay.alphanet.ch> <slrnt7vfie.3b8.lhh+news-no_spam@hercule.home.arpa>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 14 May 2022 15:02:03 -0000 (UTC)
Injection-Info: shakotay.alphanet.ch; posting-account="schaefer"; posting-host="catalyst.alphanet.ch:192.168.99.121";
	logging-data="4911"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: tin/2.4.3-20181224 ("Glen Mhor") (UNIX) (Linux/4.19.0-20-amd64 (x86_64))
Cancel-Lock: sha256:varFOo8cX1v0yFvTwJls9lftynnc+JCJuGe9FDbAh9o=
Bytes: 2084
Lines: 17

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