25-07-2021

This commit is contained in:
2021-07-25 13:17:19 +02:00
parent e02b036875
commit 25789f522b
39 changed files with 2593 additions and 121 deletions

View File

@@ -20,6 +20,8 @@ snowleopard macOS
### Colonnes:
Afficher la 1ere colonne d'un fichier:
```bash
@@ -186,6 +188,28 @@ snowleopard
### Lignes:
Afficher la 3eme ligne:
```bash
$ awk 'NR==3' test.txt
mint
```
Afficher les ligne 2 à 4:
```bash
$ awk 'NR>=2 && NR<=4' test.txt
ubuntu
mint
debian
```
### Divers:
Passer un argument à awk:
```bash