test -e #1 test
What a mail subjet :)
Here you are:
Running from a floppy that has grub2 installed in it inside qemu:
grub> test /boot/grub/und-pc.lst
/boot/grub/und-pc.lst
grub> test /boot/grub/
error: File does not exists.
grub> test /boot/grub
error: File does not exists.
grub> test -e /boot/grub/und-pc.lst
error: Unknown argument '-e'
grub> help test
Usage: test EXPRESSION
Evaluate an expression
-h, --help display this help and exit
-u, --usage display the usage of this command and exit
My question is: Why help search works as expected ?
What was wrong with my options?
adrian15
adrian15 <[email protected]> writes:
Hi,
Quoted 16 lines
Here you are:
Running from a floppy that has grub2 installed in it inside qemu:
grub> test
/boot/grub/und-pc.lst
/boot/grub/und-pc.lst
grub> test/boot/grub/
error: File does not exists.
grub> test/boot/grub
error: File does not exists.
grub> test -e/boot/grub/und-pc.lst
error: Unknown argument '-e'
grub> help test
Usage: test EXPRESSION
Evaluate an expression
Quoted 7 lines
-h, --help display this help and exit
-u, --usage display the usage of this command and exitMy question is: Why help search works as expected ?
What was wrong with my options?
Nothing. The current test is just a dummy. I have a nearly finished `test' on my harddisk. Poke me often enough this week on IRC and I will finish it next weekend :-).
--
Marco