grep na binarni soubory nefunguje?
Gilhad
gilhad na iname.com
Pondělí Březen 5 11:52:28 CET 2001
Petr Baudis wrote:
>
> > grep -b RETEZEC Soubor
> >
> > Binární soubor Soubor odpovídá
> >
> > Stejně se chová k jakémukoliv binárnímu souboru.
> >
> Co mate za verzi grepu? Muj grep (GNU grep 2.1) vezme
> grep -b string binary_file | cut -d ':' -f 1
> uplne bez problemu a vypise pozici retezce...
>
grep -V
grep (GNU grep) 2.4
Copyright (C) 1988, 1992-1998, 1999 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
Me to taky rekne:
grep -b KOD TEST_FILE
Binary file TEST_FILE matches
--
Zdravi
Gilhad
Mail: Gilhad na iname.com
WWW: http://gilhad.zoom-int.cz/index.php
Manga: http://gilhad.zoom-int.cz/manga/index.php
ShadowRun: http://gilhad.zoom-int.cz/shadowrun/index.php
Další informace o konferenci Linux