grub4dos icon indicating copy to clipboard operation
grub4dos copied to clipboard

grub4dos-0.4.6a-2021-10-15.7z - BUG: spaces are removed from end of line

Open steve6375 opened this issue 4 years ago • 4 comments

image

ERROR: SPACES REMOVED FROM END OF LINE

!BAT
echo -v
echo 12345678901234567890
echo -n FRED   
echo FRED

image

Previous versions do not remove spaces

image test.zip

steve6375 avatar Oct 15 '21 06:10 steve6375

Also when using set command - spaces are removed from end of line e.g. Previous versions - we can add spaces to a variable value...

DD[SPACE][SPACE][SPACE]

image CORRECT

NEW VERSION HAS BUG image

YOU MUST NOT REMOVE SPACES FROM END OF COMMAND LINE

IT IS NOT COMPATIBLE

steve6375 avatar Oct 15 '21 06:10 steve6375

实际上没有人这样使用。

yaya2007 avatar Oct 15 '21 08:10 yaya2007

Yes they do! I do.

set command can now not set a string with spaces after it - this is a major bug!

Please remove the space removal code It makes grub4dos incompatible It breaks batch files It is not wanted PLEASE go back to how it was before Nobody wants this - nobody asked for it - it causes incompatibility

please ask Chenal or a1ive - it is a serious bug!

steve6375 avatar Oct 15 '21 09:10 steve6375

我觉得对于像 'echo' 和 'set' 这样,最后一个参数是字符串的命令,不应吸收末尾的空格。

a1ive avatar Oct 22 '21 02:10 a1ive