[LUG.ro] Como buscar strings dentro de archivos OO
Horacio Castellini
lugro@lugro.org.ar
Mon, 7 Feb 2005 14:38:12 -0300 (ART)
--- "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