Bash : joint 2 fichiers ?
Résolu/Fermé
A voir également:
- Bash : joint 2 fichiers ?
- Bingo bash jeton gratuit - Télécharger - Divers Jeux
- Bash addition - Forum Shell
- Bash pause ✓ - Forum Shell
- Retour à la ligne bash ✓ - Forum Shell
- Bash: adduser : commande introuvable ✓ - Forum Debian
3 réponses
dubcek
Messages postés
18764
Date d'inscription
lundi 15 janvier 2007
Statut
Contributeur
Dernière intervention
9 février 2025
5 623
27 févr. 2015 à 15:25
27 févr. 2015 à 15:25
hello
avec awk
avec awk
$ awk 'FNR==NR {t[$1]=$0; next} {x=$1; $1=""; print t[x] $0}' A B
man01 xxx yyy zzz ggggg kkkkk
man02 xxx yyy zzz yyyy
man02 xxx yyy zzz tttttt jjjjjj
man04 xxx yyy zzz lllllll rrrrrrrr eeeeeee
zipe31
Messages postés
36402
Date d'inscription
dimanche 7 novembre 2010
Statut
Contributeur
Dernière intervention
27 janvier 2021
6 422
27 févr. 2015 à 10:56
27 févr. 2015 à 10:56
Salut,
Voir la commande
Voir la commande
join;-)