mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix troff warning
.eo/.ec sections seemingly need explicit empty lines using .sp Otherwise, troff complains: troff:<standard input>:535: warning: expected numeric expression, got '\' troff:<standard input>:538: warning: expected numeric expression, got '\' troff:<standard input>:541: warning: expected numeric expression, got '\'
This commit is contained in:
parent
14f598e11e
commit
d2f94648eb
1 changed files with 3 additions and 3 deletions
|
|
@ -532,13 +532,13 @@ Or use the expect command to script an interaction:
|
||||||
.nf
|
.nf
|
||||||
.eo
|
.eo
|
||||||
#!/usr/bin/expect -f
|
#!/usr/bin/expect -f
|
||||||
|
.sp
|
||||||
set timeout -1
|
set timeout -1
|
||||||
log_user 0
|
log_user 0
|
||||||
|
.sp
|
||||||
spawn nc -UN /tmp/tio-socket0
|
spawn nc -UN /tmp/tio-socket0
|
||||||
set uart $spawn_id
|
set uart $spawn_id
|
||||||
|
.sp
|
||||||
send -i $uart "date\n"
|
send -i $uart "date\n"
|
||||||
expect -i $uart "prompt> "
|
expect -i $uart "prompt> "
|
||||||
send -i $uart "ls -la\n"
|
send -i $uart "ls -la\n"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue