mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 15:26:37 +02:00
Updated FIFO sample script in doc
This commit is contained in:
@@ -1215,7 +1215,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1207,7 +1207,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1224,7 +1224,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1215,7 +1215,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1207,7 +1207,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
@@ -1224,7 +1224,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<screen>
|
||||
#!/bin/sh
|
||||
if [ $# -eq 1 ]; then
|
||||
for fifo in $(/bin/ls ~/.weechat/weechat_fifo_* 2>/dev/null); do
|
||||
for fifo in ~/.weechat/weechat_fifo_*
|
||||
do
|
||||
echo -e "$1" >$fifo
|
||||
done
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user