[shell unix] Question sur 'awk'
Résolu/Fermé
jebok
Messages postés
358
Date d'inscription
lundi 16 mai 2005
Statut
Membre
Dernière intervention
23 octobre 2007
-
24 août 2005 à 12:01
jebok Messages postés 358 Date d'inscription lundi 16 mai 2005 Statut Membre Dernière intervention 23 octobre 2007 - 24 août 2005 à 12:36
jebok Messages postés 358 Date d'inscription lundi 16 mai 2005 Statut Membre Dernière intervention 23 octobre 2007 - 24 août 2005 à 12:36
A voir également:
- [shell unix] Question sur 'awk'
- Classic shell windows 10 français - Télécharger - Personnalisation
- Startup.nsh shell ✓ - Forum Windows 10
- Telecharger unix - Forum Linux / Unix
- Awk gsub ✓ - Forum Shell
- Awk split ✓ - Forum Shell
1 réponse
jipicy
Messages postés
40842
Date d'inscription
jeudi 28 août 2003
Statut
Modérateur
Dernière intervention
10 août 2020
4 895
24 août 2005 à 12:30
24 août 2005 à 12:30
Salut,
Il faut exclure ta variable de la commande "awk" en quotant avant et après comme ceci :
Il faut exclure ta variable de la commande "awk" en quotant avant et après comme ceci :
awk '/'$VAR'/ {print $0}' fichier.txt;-))
24 août 2005 à 12:36