Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Iniciar sessão
david.wurm
/
InternetServicesBook
espelho de
https://github.com/trimstray/the-book-of-secret-knowledge
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Lançamentos
0
Trabalho
Ver a proveniência
add new one-liner to 'awk' section
- signed-off-by: trimstray <trimstray@gmail.com>
pull/89/head
trimstray
há 5 anos
ascendente
fb158ea7db
cometimento
46e0cedff6
1 ficheiros alterados
com
9 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+9
-0
README.md
+ 9
- 0
README.md
Ver ficheiro
@@ -3259,6 +3259,15 @@ awk '!x[$0]++' filename
awk '{print $NF}' filename
```
###### Remove empty lines
```bash
awk 'NF > 0' filename
# alternative:
awk NF filename
```
###### Print multiple columns with separators
```bash
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar