linux - Why doea $IFS act as a whitespace in the command "ls$ISF-l" but not "Echo hello"? -
ls -l
has same output ls$isf-l
, echo$ifshello
not have same output echo hello
.
i'm aware $ifs
default equal white space. i'm wondering why $ifs
behaving differently in between these 2 scenario.
peace.
in case "echo$ifshello" there no variable name "ifshello". need "echo${ifs}hello" same output "echo hello"
Comments
Post a Comment