URL: https://linuxfr.org/forums/programmation-shell/posts/alternative-de-la-commande-paste Title: alternative de la commande paste Authors: mino60 Date: 2020年01月28日T04:54:52+01:00 License: CC By-SA Tags: Score: 0 Bonjour je veux ajouter le contenu d'un fichier dans un autre voilà le contenu de mes fichiers par titre d'exemple : monfichier1= ``` 1 Germany 2 Indonesia 3 United Kingdom 4 Malaysia ``` monfichier2= ``` Ping: 15 ms Ping: 29 ms Ping: 31 ms Ping: 29 ms ``` mon but c'est d'avoir un autre fichier 3 comme ça : ``` 1 Germany Ping: 15 ms 2 Indonesia Ping: 29 ms 3 United Kingdom Ping: 31 ms 4 Malaysia Ping: 29 ms ``` avec cete commande les resultats ne son pa a linear ``` 1 Germany Ping: 15 ms 2 Indonesia Ping: 29 ms 3 United Kingdom Ping: 31 ms ``` ![Titre de l'image](https://i.imgur.com/maNRTNJ.png?1) ce que je veux: ![Titre de l'image](https://i.imgur.com/ap5M6UV.png?1) while read -u 3 a && read -u 4 b; do echo $a $b>>monfichier3 ; done 3

AltStyle によって変換されたページ (->オリジナル) /