Re: -c option not working as expected

2025-02-03 Thread Dale . Worley
sanjay kumar via Bug reports for the GNU Bourne Again SHell writes: Somehow all the line breaks in your report were lost. As I reconstruct it, you wrote: > cat test.sh #!/bin/bash echo "argv[0] = ${0}" echo "argv[1] = ${1}" echo "argv[2] = ${2}" echo "count = ${#}" =

Re: -c option not working as expected

2025-01-27 Thread Martin D Kealey
Bash is behaving correctly; this is not a bug in Bash. And this list is for reporting bugs, not fixing user scripts, so rather than spoon-feed you an explanation, I'm going to give you enough pointers to enable you to discover it for yourself. Start by reading what the manual says about reading co