mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Fix troff warning (#216)
.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
ed66c72ca1
1 changed files with 3 additions and 3 deletions
|
|
@ -532,13 +532,13 @@ Or use the expect command to script an interaction:
|
|||
.nf
|
||||
.eo
|
||||
#!/usr/bin/expect -f
|
||||
|
||||
.sp
|
||||
set timeout -1
|
||||
log_user 0
|
||||
|
||||
.sp
|
||||
spawn nc -UN /tmp/tio-socket0
|
||||
set uart $spawn_id
|
||||
|
||||
.sp
|
||||
send -i $uart "date\n"
|
||||
expect -i $uart "prompt> "
|
||||
send -i $uart "ls -la\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue