xrile / grub4dos-chenall

Automatically exported from code.google.com/p/grub4dos-chenall
0 stars 0 forks source link

cat always reports hex locations of found strings on screen #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. cat --locate=c /menu.lst  display hex locations of matches on screen
2. using debug 0 or debug off should prevent this but it does not
3.

What is the expected output? What do you see instead?
get hex strings

What version of the product are you using? On what operating system?
0.4.5b 2011-11-03

Please provide any additional information below.

Original issue reported on code.google.com by Steve6375 on 11 Nov 2011 at 10:21

GoogleCodeExporter commented 8 years ago
Because we want get hex strings when debug off.

you can use below command.

cat --locate=c /menu.lst > nul

Original comment by chenall.cn on 18 Nov 2011 at 9:10

GoogleCodeExporter commented 8 years ago
Thanks, does > nul work for all command lines?

Original comment by Steve6375 on 18 Nov 2011 at 9:26

GoogleCodeExporter commented 8 years ago
Yes like "&&" "||" "|"

Original comment by chenall.cn on 18 Nov 2011 at 9:27

GoogleCodeExporter commented 8 years ago
what else can > do?
e.g. can you do > /file.txt 

Original comment by Steve6375 on 18 Nov 2011 at 9:39

GoogleCodeExporter commented 8 years ago
you can do like msdos.
   > /file.txt
or
   >> /file.txt

but the /file.txt must be already exist.
because grub4dos can not make new file or change file size.

Original comment by chenall.cn on 18 Nov 2011 at 9:44

GoogleCodeExporter commented 8 years ago
This can be closed now - thanks

Original comment by Steve6375 on 23 Nov 2011 at 6:52

GoogleCodeExporter commented 8 years ago

Original comment by chenall.cn on 25 Nov 2011 at 8:58