.\" -*- coding: UTF-8 -*- '\" t .\" Title: look .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.15 .\" Date: 2022-05-11 .\" Manual: User Commands .\" Source: util-linux 2.38.1 .\" Language: English .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH LOOK 1 "11 Mayo 2022" "util\-linux 2.38.1" "Órdenes de usuario" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH NOMBRE look \- muestra las líneas que comienzan por una determinada cadena .SH SINOPSIS .sp \fBlook\fP [opciones] \fIcadena \fP[\fIarchivo\fP] .SH DESCRIPCIÓN .sp La herramienta \fBlook\fP muestra las líneas del archivo \fIarchivo\fP que contienen \fIcadena\fP como prefijo. Dado que \fBlook\fP realiza una búsqueda binaria, las líneas en \fIarchivo\fP deben estar ordenadas.\fBsort\fP(1) se ejecuta con las mismas opciones \fB\-d\fP y/o \fB\-f\fP con las que se ejecutó \fBlook\fP. .sp Si no se especifica \fIfichero\fP, se usa el fichero \fI/usr/share/dict/words\fP, solo se comparan caracteres alfabéticos y las mayúsculas y minúsculas se toman por igual. .SH OPCIONES .sp \fB\-a\fP,\fB \-\-alternative\fP .RS 4 Emplea el diccionario alternativo .RE .sp \fB\-d\fP,\fB \-\-alphanum\fP .RS 4 Emplea el habitual orden y diccionario de conjunto de caracteres, esto es que solo compara caracteres alfanuméricos. Este sería el comportamiento por defecto si no se especifica ningún archivo. .sp Note that blanks have been added to dictionary character set for compatibility with \fBsort \-d\fP command since version 2.28. .RE .sp \fB\-f\fP, \fB\-\-ignore\-case\fP .RS 4 No distingue entre mayúsculas y minúsculas. Este es el comportamiento por defecto si no se especifica ningún archivo. .RE .sp \fB\-i\fP, \fB\-\-terminate\fP \fIcarácter\fP .RS 4 Specify a string termination character, i.e., only the characters in \fIstring\fP up to and including the first occurrence of \fIcharacter\fP are compared. .RE .sp \fB\-h\fP, \fB\-\-help\fP .RS 4 Muestra un texto de ayuda y finaliza. .RE .sp \fB\-V\fP, \fB\-\-version\fP .RS 4 Muestra la versión y finaliza. .RE .sp La utilidad \fBlook\fP termina con valor 0 si una o más líneas fueron encontradas y mostradas, 1 si no se encontró ninguna y >1 si ocurrió un error. .SH ENTORNO .sp \fBWORDLIST\fP .RS 4 Path to a dictionary file. The environment variable has greater priority than the dictionary path defined in the \fBFILES\fP segment. .RE .SH ARCHIVOS .sp \fI/usr/share/dict/words\fP .RS 4 el diccionario .RE .sp \fI/usr/share/dict/web2\fP .RS 4 el diccionario alternativo .RE .SH HISTORIAL .sp \fBlook\fP apareció por primera vez en Unix Version 7 de AT&T. .SH EJEMPLOS .sp .if n .RS 4 .nf .fam C sort \-d /etc/passwd \-o /tmp/look.dict look \-t: root:foobar /tmp/look.dict .fam .fi .if n .RE .SH "VÉASE TAMBIÉN" .sp \fBgrep\fP(1), \fBsort\fP(1) .SH "INFORMAR DE ERRORES" .sp Para informar de cualquier error, utilice el sistema de seguimiento de fallos .URL https://github.com/util\-linux/util\-linux/issues "" . .SH DISPONIBILIDAD .sp The \fBlook\fP command is part of the util\-linux package which can be downloaded from .URL https://www.kernel.org/pub/linux/utils/util\-linux/ "Linux Kernel Archive" . .PP .SH TRADUCCIÓN La traducción al español de esta página del manual fue creada por Juan José López Mellado y Marcos Fouces . .PP Esta traducción es documentación libre; lea la .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. .PP Si encuentra algún error en la traducción de esta página del manual, envíe un correo electrónico a .MT debian-l10n-spanish@lists.debian.org .ME .