Hi,
I'm sending a bash command to a linux machine but the input buffer is somehow getting a "\n" inserted into it so I can't match. I can't figure out why and it's driving me crazy. Any ideas where it's comming from? you can see it right after the "img_2".
I'm sending a bash command to a linux machine but the input buffer is somehow getting a "\n" inserted into it so I can't match. I can't figure out why and it's driving me crazy. Any ideas where it's comming from? you can see it right after the "img_2".
Code:
send: sending "rmdir --ignore-fail-on-non-empty "img_2819_2009"\r" to { exp4 }
expect: does "rmdir --ignore-fail-on-non-empty "img_2 \n819_2009"\n" (spawn_id exp4) match glob pattern "rmdir --ignore-fail-on-non-empty "img_2819_2009"\n"? no