Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.sys.mac.programmation > #2073

Re: AppleScript me prend le chou

From "M.V." <mv@gmail.com.invalid>
Newsgroups fr.comp.sys.mac.programmation
Subject Re: AppleScript me prend le chou
Date 2021-11-26 14:11 +0000
Organization M.V. & Co
Message-ID <snqpts$6dl$1@dont-email.me> (permalink)
References <snlrn0$2h7$1@dont-email.me> <snnh1s$7mg$1@dont-email.me> <j0bh0eFkg9U1@mid.individual.net> <snqlji$45d$1@dont-email.me>

Show all headers | View raw


Le 26 novembre 2021 à 13 h 57, Fleuger a tenu les propos suivants :

> J'ai zsh sur mon mac
> ➜  ~ echo toto
> toto
> ➜  ~ echo -n "toto"
> toto%                                                                   
>                                                                         
>        
> ➜  ~ echo -e toto
> toto
> ➜  ~ echo -e "toto"
> toto

En bash :
echo toto ➜ toto avec retour ligne et nouveau prompt
echo -n toto ➜ toto sans saut de ligne avant le nouveau prompt

echo -e toto ➜ toto avec retour ligne et nouveau prompt

Avec AS (Terminal en bash) :
do shell script "echo -n toto" ➜ -n toto
do shell script "echo -e toto" ➜ -e toto

Mêmes résultats avec AS quand Terminal est en zsh
-- 
Michel VAUQUOIS - <http://michelvauquois.fr>

Back to fr.comp.sys.mac.programmation | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-24 17:10 +0000
  Re: AppleScript me prend le chou pehache <pehache.7@gmail.com> - 2021-11-24 23:39 +0100
    Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 08:26 +0000
    Re: AppleScript me prend le chou DV <dv@reply-to.not.invalid> - 2021-11-25 09:15 +0000
  Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 08:21 +0000
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 08:50 +0000
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 10:34 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 10:57 +0000
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 13:52 +0000
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 16:17 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 16:26 +0000
    Re: AppleScript me prend le chou pehache <pehache.7@gmail.com> - 2021-11-26 08:34 +0100
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-26 12:57 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-26 14:11 +0000
          Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-26 14:26 +0000
  Re: AppleScript me prend le chou josephb@nowhere.invalid (Joseph-B) - 2021-11-26 11:22 +0100
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-26 11:44 +0000
  Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-11-27 17:06 +0100
    Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-11-27 17:10 +0100
      Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-12-01 22:10 +0100

csiph-web