[LUG.ro] Como buscar strings dentro de archivos OO
Martin Gaido
lugro@lugro.org.ar
Tue, 08 Feb 2005 08:34:16 -0500
Gracias Horacio:
Alguien mas me recomendó zcat, voy a ver que comando funciona mejor.
Saludos,
On Mon, 2005-02-07 at 14:38 -0300, Horacio Castellini wrote:
> --- "Martin Gaido [eMultiSoft.com]"
> <martin_gaido@fastmail.fm> escribió:
> > Estimados:
> >
> > Estoy tratando de ver la forma de buscar "strings"
> > dentro de archivos
> > Open Office y PDF's. En la lista de debian me
> > recomendaron descomprimir
> > los archivos .sxw con "unzip" por ejemplo y luego
> > buscar con "grep" en
> > los .xml pero no creo que sea lo mas óptimo hacer
> > esto, yo me imagino
> > que hay algún comando/app que haga esto
> > automáticamente directamente sin
> > necesidad de andar haciendo todos estos pasos.
> > Alguien tiene algún
> > comentario?
>
>
> Bueno existe una aplicación básica conocida como el
> comando strings....
> -----------------------------
> strings(1) GNU Development Tools
> strings(1)
>
> NAME
> strings - print the strings of printable
> characters in files
>
> SYNOPSIS
> strings
> [-a|-|--all] [-f|--print-file-name] [-o]
> [--help] [-v|--version]
> [-n min-len|-min-len|--bytes=min-len]
> [-t
> {o,x,d}[--target=bfdname]
> |--radix={o,x,d}] file
>
> DESCRIPTION
> For each file given, GNU strings prints the
> printable character se-
> quences that are at least 4 characters long (or
> the number given with
> the options below) and are followed by an
> unprintable character. By
> default, it only prints the strings from the
> initialized and loaded
> sections of object files; for other types
> of files, it prints the
> strings from the whole file.
>
> strings is mainly useful for determining the
> contents of non-text
> files.
>
> ------------------------------
>
> Salu-gasudos....
>
>
>
>
>
>
> ___________________________________________________________
> 250MB gratis, Antivirus y Antispam
> Correo Yahoo!, el mejor correo web del mundo
> http://correo.yahoo.com.ar
> _______________________________________________
> Lugro mailing list
> Lugro@lugro.org.ar
> http://www.lugro.org.ar/mailman/listinfo/lugro
--
Martín G. Gaido
Linux+ & RHCE Certified Pro
Cell: +54 (02477) 15590965
Office: +54 (02477) 435350
eMail: martin_gaido@fastmail.fm
MSN IM: linux@emultisoft.com
SMS: 2477590965@infotext.cti.com.ar
Skype: martin_gaido
Websites:
http://www.linuxargentina.org
http://www.emultisoft.com
http://www.martingaido.com
http://www.fsf.org
http://www.debian.org
http://www.mialug.org