Tag

Command Line Arguments

All articles tagged with #command line arguments

"Unusual Behavior: SSH's Handling of Spaces in Command-line Arguments"
technology2 years ago

"Unusual Behavior: SSH's Handling of Spaces in Command-line Arguments"

A user discovered that when using SSH to execute a command on a remote server, spaces in command-line arguments can be handled strangely. The user expected the command to be passed on transparently, but SSH turned the argument "bar\ baz" into two separate command-line arguments, causing the command to fail. The exact reason for this behavior is unknown, but it is suspected to be a design decision or an entrenched bug.