summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/de/weechat.de.xml3
-rw-r--r--doc/en/weechat.en.xml3
-rw-r--r--doc/fr/weechat.fr.xml3
3 files changed, 6 insertions, 3 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 <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
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 <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
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 <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