1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-06 14:56:54 +02:00

awk-es intro

This commit is contained in:
hugo
2017-07-15 00:40:58 -07:00
parent 05dba0fb24
commit 0f90bc5e5c

View File

@@ -8,17 +8,17 @@ translators:
lang: es-es lang: es-es
--- ---
AWK is a standard tool on every POSIX-compliant UNIX system. It's like a AWK es una herramienta estándar en cada sistema UNIX compatible con POSIX.
stripped-down Perl, perfect for text-processing tasks and other scripting Es como un Perl restringido, perfecto para tareas de procesamiento de texto y
needs. It has a C-like syntax, but without semicolons, manual memory otras necesidades de scripting. Tiene una sintaxis similar a C, pero sin
management, or static typing. It excels at text processing. You can call to it puntos y comas, manejo manual de memoria y tipado estático. Puedes llamarlo
from a shell script, or you can use it as a stand-alone scripting language. desde un script de shell o usarlo como un lenguaje stand-alone para scripting.
Why use AWK instead of Perl? Mostly because AWK is part of UNIX. You can always ¿Por qué elegir AWK sobre Perl? Principalmente, porque AWK es parte de UNIX.
count on it, whereas Perl's future is in question. AWK is also easier to read Siempre puedes contar con él, mientras que el futuro de Perl está en duda. AWK
than Perl. For simple text-processing scripts, particularly ones that read es más fácil de leer que Perl. Para scripts sencillos de procesamiento de texto,
files line by line and split on delimiters, AWK is probably the right tool for particularmente si es para leer archivos línea a línea y dividir por
the job. delimitadores, probablemente AWK es la herramienta correcta para el trabajo.
```awk ```awk
#!/usr/bin/awk -f #!/usr/bin/awk -f