aboutsummaryrefslogblamecommitdiffstats
path: root/bus-wait.1
blob: 07d57049ef220c81a09038fb2cc3d77b535e0a3d (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                  
        
                                            




               

                                                                        
                                                                 
                                                      










                              
           
.TH BUS-WAIT 1 BUS
.SH NAME
bus wait - Listen for a new message on a bus
.SH SYNOPSIS
.B bus wait
.IR pathname
.IR command
.SH DESCRIPTION
Listen for a new message on the bus associated with \fIpathname\fP, stop
listening once a message has been received.  Once a message is received,
\fIcommand\fP will be spawned with \fI$msg\fP set to the received
message.  POSIX shell syntax applies to \fIcommand\fP.
.SH EXIT STATUS
.TP
0
The command was successful.
.TP
1
The command failed.
.TP
2
The command is not recognised.
.SH SEE ALSO
.BR bus (5)