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:
Jakob Haufe 2023-12-08 09:32:38 +01:00
parent 14f598e11e
commit d2f94648eb
No known key found for this signature in database
GPG key ID: 4CF2B218F54DAE3D

View file

@ -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"