Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > fr.comp.os.unix > #7912
| Path | csiph.com!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed1-b.proxad.net!nnrp1-2.free.fr!not-for-mail |
|---|---|
| From | Thomas <fantome.forums.tDeContes@free.fr.invalid> |
| Newsgroups | fr.comp.os.unix |
| Mail-Copies-To | nobody |
| Subject | script sh / redirection de sorties |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-15 |
| Content-Transfer-Encoding | 8bit |
| User-Agent | MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
| Date | Wed, 16 Mar 2022 22:52:44 +0100 |
| Message-ID | <fantome.forums.tDeContes-25D9C4.22524216032022@news.free.fr> (permalink) |
| Lines | 40 |
| Organization | Guest of ProXad - France |
| NNTP-Posting-Date | 16 Mar 2022 22:52:45 CET |
| NNTP-Posting-Host | 91.175.52.121 |
| X-Trace | 1647467565 news-4.free.fr 13433 91.175.52.121:15033 |
| X-Complaints-To | abuse@proxad.net |
| Xref | csiph.com fr.comp.os.unix:7912 |
Show key headers only | View raw
bonjour :-)
1)
déjà pour me repérer :
sur mon vieux mac :
+ sh --version
GNU bash, version 3.2.48(1)-release (x86_64-apple-darwin10.0)
Copyright (C) 2007 Free Software Foundation, Inc.
sur Ubuntu 16.4 :
$ sh --version
sh: 0: Illegal option --
$ man sh
NAME
dash -- command interpreter (shell)
y a-t-il moyen de connaitre la version ?
2)
redirection de sorties :
je souhaite rediriger stdout et stderr dans le même fichier.
sur mon vieux mac, je faisais :
( commande ) &> "fichier.log" &
et ça marchais très bien.
sur Ubuntu 16.4, ça ne marche pas.
- pourquoi ?
- comment faire ?
--
RAPID maintainer
http://savannah.nongnu.org/projects/rapid/
Back to fr.comp.os.unix | Previous | Next — Next in thread | Find similar | Unroll thread
script sh / redirection de sorties Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-03-16 22:52 +0100
Re: script sh / redirection de sorties Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-03-17 01:05 +0100
Re: script sh / redirection de sorties Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-03-17 02:27 +0100
Re: script sh / redirection de sorties Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-03-17 15:16 +0100
Re: script sh / redirection de sorties Nicolas George <nicolas$george@salle-s.org> - 2022-03-17 15:02 +0000
Re: script sh / redirection de sorties Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-03-17 19:10 +0100
Re: script sh / redirection de sorties Thomas <fantome.forums.tDeContes@free.fr.invalid> - 2022-03-19 16:28 +0100
Re: script sh / redirection de sorties Alain Ketterlin <alain@universite-de-strasbourg.fr.invalid> - 2022-03-19 23:44 +0100
csiph-web