Socat command syntax
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Here is some socat command example I find:
$ printf "md.b 0x0800000 0x100000rr" |
socat - /dev/ttyUSB0,raw,echo=0,crnl >u-boot.ascii 2>&1
It's not clear what is purpose of backslash "" after vertical bar: does it just artifact (separator) applied by mail client or it has some meaning? The command need be in one line probably?
linux shell socat
add a comment |Â
up vote
0
down vote
favorite
Here is some socat command example I find:
$ printf "md.b 0x0800000 0x100000rr" |
socat - /dev/ttyUSB0,raw,echo=0,crnl >u-boot.ascii 2>&1
It's not clear what is purpose of backslash "" after vertical bar: does it just artifact (separator) applied by mail client or it has some meaning? The command need be in one line probably?
linux shell socat
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Here is some socat command example I find:
$ printf "md.b 0x0800000 0x100000rr" |
socat - /dev/ttyUSB0,raw,echo=0,crnl >u-boot.ascii 2>&1
It's not clear what is purpose of backslash "" after vertical bar: does it just artifact (separator) applied by mail client or it has some meaning? The command need be in one line probably?
linux shell socat
Here is some socat command example I find:
$ printf "md.b 0x0800000 0x100000rr" |
socat - /dev/ttyUSB0,raw,echo=0,crnl >u-boot.ascii 2>&1
It's not clear what is purpose of backslash "" after vertical bar: does it just artifact (separator) applied by mail client or it has some meaning? The command need be in one line probably?
linux shell socat
asked Jan 4 at 13:18
minto
16611
16611
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
That's a way to split a line into more lines. The literal meaning of the backslash is escaping the end of line symbol. The effect is that the line is not ending where it does, but it continues on the next line. As can be guessed, the end of line symbol has to follow the immediately. If there's a space after the backslash, it won't work.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
That's a way to split a line into more lines. The literal meaning of the backslash is escaping the end of line symbol. The effect is that the line is not ending where it does, but it continues on the next line. As can be guessed, the end of line symbol has to follow the immediately. If there's a space after the backslash, it won't work.
add a comment |Â
up vote
2
down vote
That's a way to split a line into more lines. The literal meaning of the backslash is escaping the end of line symbol. The effect is that the line is not ending where it does, but it continues on the next line. As can be guessed, the end of line symbol has to follow the immediately. If there's a space after the backslash, it won't work.
add a comment |Â
up vote
2
down vote
up vote
2
down vote
That's a way to split a line into more lines. The literal meaning of the backslash is escaping the end of line symbol. The effect is that the line is not ending where it does, but it continues on the next line. As can be guessed, the end of line symbol has to follow the immediately. If there's a space after the backslash, it won't work.
That's a way to split a line into more lines. The literal meaning of the backslash is escaping the end of line symbol. The effect is that the line is not ending where it does, but it continues on the next line. As can be guessed, the end of line symbol has to follow the immediately. If there's a space after the backslash, it won't work.
answered Jan 4 at 13:46
Tomasz
8,03552560
8,03552560
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f414766%2fsocat-command-syntax%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password