From 57ceaba3d1f21408599c2bbe83697caf0951d4f6 Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Mon, 13 Aug 2007 16:05:44 +0000 Subject: [PATCH] Updated FIFO sample script in doc --- doc/de/weechat.de.xml | 3 ++- doc/en/weechat.en.xml | 3 ++- doc/fr/weechat.fr.xml | 3 ++- weechat/doc/de/weechat.de.xml | 3 ++- weechat/doc/en/weechat.en.xml | 3 ++- weechat/doc/fr/weechat.fr.xml | 3 ++- 6 files changed, 12 insertions(+), 6 deletions(-) diff --git a/doc/de/weechat.de.xml b/doc/de/weechat.de.xml index 9d6c77da9..5bd65ed24 100644 --- a/doc/de/weechat.de.xml +++ b/doc/de/weechat.de.xml @@ -1215,7 +1215,8 @@ along with this program. If not, see . #!/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 diff --git a/doc/en/weechat.en.xml b/doc/en/weechat.en.xml index b8f0b7664..8910c6d0d 100644 --- a/doc/en/weechat.en.xml +++ b/doc/en/weechat.en.xml @@ -1207,7 +1207,8 @@ along with this program. If not, see . #!/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 diff --git a/doc/fr/weechat.fr.xml b/doc/fr/weechat.fr.xml index df36a18d2..352812e2d 100644 --- a/doc/fr/weechat.fr.xml +++ b/doc/fr/weechat.fr.xml @@ -1224,7 +1224,8 @@ along with this program. If not, see . #!/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 diff --git a/weechat/doc/de/weechat.de.xml b/weechat/doc/de/weechat.de.xml index 9d6c77da9..5bd65ed24 100644 --- a/weechat/doc/de/weechat.de.xml +++ b/weechat/doc/de/weechat.de.xml @@ -1215,7 +1215,8 @@ along with this program. If not, see . #!/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 diff --git a/weechat/doc/en/weechat.en.xml b/weechat/doc/en/weechat.en.xml index b8f0b7664..8910c6d0d 100644 --- a/weechat/doc/en/weechat.en.xml +++ b/weechat/doc/en/weechat.en.xml @@ -1207,7 +1207,8 @@ along with this program. If not, see . #!/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 diff --git a/weechat/doc/fr/weechat.fr.xml b/weechat/doc/fr/weechat.fr.xml index df36a18d2..352812e2d 100644 --- a/weechat/doc/fr/weechat.fr.xml +++ b/weechat/doc/fr/weechat.fr.xml @@ -1224,7 +1224,8 @@ along with this program. If not, see . #!/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