I've read bash manpage and other docs, but I find the explanation a bit confusing.
I have the following simple script:
#!/bin/bash IFS="" echo $2 var=A B C echo $var
if I execute it, eg:
LANG=C ./args2 3 4 4 ./args2: line 7: B: command not found
I really don't understand, why $2 = 4? If manual says:
If the value of IFS is null, no word splitting occurs.
The same thing with var declaration, why it complains about "B"? So there is word splitting anyway?