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