summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-04-03 12:22:53 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-04-03 12:22:53 +0200
commitd055d4a2bdfc79f4339cba934d662bc46825f141 (patch)
treef396743bd68db34c06d61c18932d3f3efb5418c0
parent7c55cbb38b6d42073eacf7decc4d08eb8677e60e (diff)
downloadweechat-d055d4a2bdfc79f4339cba934d662bc46825f141.zip
exec: add examples with "tail -f" and "-kill" in /help exec
-rw-r--r--doc/de/autogen/user/exec_commands.txt2
-rw-r--r--doc/en/autogen/user/exec_commands.txt2
-rw-r--r--doc/fr/autogen/user/exec_commands.txt2
-rw-r--r--doc/it/autogen/user/exec_commands.txt2
-rw-r--r--doc/ja/autogen/user/exec_commands.txt2
-rw-r--r--doc/pl/autogen/user/exec_commands.txt2
-rw-r--r--po/cs.po6
-rw-r--r--po/de.po6
-rw-r--r--po/es.po6
-rw-r--r--po/fr.po12
-rw-r--r--po/hu.po6
-rw-r--r--po/it.po6
-rw-r--r--po/ja.po6
-rw-r--r--po/pl.po6
-rw-r--r--po/pt_BR.po6
-rw-r--r--po/ru.po6
-rw-r--r--po/tr.po6
-rw-r--r--po/weechat.pot6
-rw-r--r--src/plugins/exec/exec-command.c4
19 files changed, 67 insertions, 27 deletions
diff --git a/doc/de/autogen/user/exec_commands.txt b/doc/de/autogen/user/exec_commands.txt
index 2530ee198..f24e7cfe9 100644
--- a/doc/de/autogen/user/exec_commands.txt
+++ b/doc/de/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Examples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/doc/en/autogen/user/exec_commands.txt b/doc/en/autogen/user/exec_commands.txt
index c268fb81f..17bef3ac3 100644
--- a/doc/en/autogen/user/exec_commands.txt
+++ b/doc/en/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Examples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/doc/fr/autogen/user/exec_commands.txt b/doc/fr/autogen/user/exec_commands.txt
index f534591ba..b2efbd27f 100644
--- a/doc/fr/autogen/user/exec_commands.txt
+++ b/doc/fr/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Exemples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Uptime de la machine:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/doc/it/autogen/user/exec_commands.txt b/doc/it/autogen/user/exec_commands.txt
index c268fb81f..17bef3ac3 100644
--- a/doc/it/autogen/user/exec_commands.txt
+++ b/doc/it/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Examples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/doc/ja/autogen/user/exec_commands.txt b/doc/ja/autogen/user/exec_commands.txt
index 49f92b997..23231d9a9 100644
--- a/doc/ja/autogen/user/exec_commands.txt
+++ b/doc/ja/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Examples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/doc/pl/autogen/user/exec_commands.txt b/doc/pl/autogen/user/exec_commands.txt
index c268fb81f..17bef3ac3 100644
--- a/doc/pl/autogen/user/exec_commands.txt
+++ b/doc/pl/autogen/user/exec_commands.txt
@@ -66,5 +66,7 @@ Examples:
/exec -nf -noln links -dump http://weechat.org/files/doc/devel/weechat_user.en.html
/exec -o uptime
/exec -pipe "/print Machine uptime:" uptime
+ /exec -n tail -f /var/log/messages
+ /exec -kill 0
----
diff --git a/po/cs.po b/po/cs.po
index 4c58f658b..aa71b6734 100644
--- a/po/cs.po
+++ b/po/cs.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Jiri Golembiovsky <golemj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4705,7 +4705,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/de.po b/po/de.po
index 977febb9b..124eae7a6 100644
--- a/po/de.po
+++ b/po/de.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-04-02 20:17+0100\n"
"Last-Translator: Nils Görs <weechatter@arcor.de>\n"
"Language-Team: German <weechatter@arcor.de>\n"
@@ -5426,7 +5426,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
" -list: zeigt laufende Befehle an\n"
" -sh: es wird die shell um Befehle auszuführen (WARNUNG: Diese Option "
diff --git a/po/es.po b/po/es.po
index 046391114..3c99c4fbb 100644
--- a/po/es.po
+++ b/po/es.po
@@ -22,7 +22,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Elián Hanisch <lambdae2@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4919,7 +4919,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/fr.po b/po/fr.po
index f0841742a..e2f21dc41 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -21,8 +21,8 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
-"PO-Revision-Date: 2014-04-03 11:19+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
+"PO-Revision-Date: 2014-04-03 12:11+0200\n"
"Last-Translator: Sébastien Helleu <flashcode@flashtux.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
"Language: fr\n"
@@ -5293,7 +5293,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
" -list: lister les commandes\n"
" -sh: utiliser le shell pour exécuter la commande (ATTENTION : utilisez "
@@ -5377,7 +5379,9 @@ msgstr ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Uptime de la machine:\" uptime"
+" /exec -pipe \"/print Uptime de la machine:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgid "ids (numbers and names) of executed commands"
msgstr "ids (nombres et noms) des commandes exécutées"
diff --git a/po/hu.po b/po/hu.po
index 123d2a476..1d9136e48 100644
--- a/po/hu.po
+++ b/po/hu.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Andras Voroskoi <voroskoi@frugalware.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4293,7 +4293,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/it.po b/po/it.po
index efde955f3..5c12f8544 100644
--- a/po/it.po
+++ b/po/it.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Esteban I. Ruiz Moreno <exio4.com@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5058,7 +5058,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/ja.po b/po/ja.po
index 1ee77d81e..30af1bf82 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-29 20:07+0900\n"
"Last-Translator: AYANOKOUZI, Ryuunosuke <i38w7i3@yahoo.co.jp>\n"
"Language-Team: Japanese <https://github.com/l/weechat/tree/translation_ja>\n"
@@ -5091,7 +5091,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
" -list: コマンドをリストアップ\n"
" -sh: コマンドを実行する際にシェルを使う (警告: このオプションを使えるの"
diff --git a/po/pl.po b/po/pl.po
index 771994e50..808516a97 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Krzysztof Korościk <soltys@szluug.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -5180,7 +5180,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/pt_BR.po b/po/pt_BR.po
index e8b689c1d..771a74bc4 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Sergio Durigan Junior <sergiosdj@gmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4761,7 +4761,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/ru.po b/po/ru.po
index bec62a791..62d6e4077 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Aleksey V Zapparov AKA ixti <ixti@member.fsf.org>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -4326,7 +4326,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/tr.po b/po/tr.po
index 42696b9d9..90b761772 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -20,7 +20,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2014-03-24 14:23+0100\n"
"Last-Translator: Hasan Kiran <sunder67@hotmail.com>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3883,7 +3883,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/po/weechat.pot b/po/weechat.pot
index 021317eae..0ac09dc3d 100644
--- a/po/weechat.pot
+++ b/po/weechat.pot
@@ -21,7 +21,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WeeChat 0.4.1-dev\n"
"Report-Msgid-Bugs-To: flashcode@flashtux.org\n"
-"POT-Creation-Date: 2014-04-03 11:18+0200\n"
+"POT-Creation-Date: 2014-04-03 12:10+0200\n"
"PO-Revision-Date: 2013-02-14 18:20+0100\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: weechat-dev <weechat-dev@nongnu.org>\n"
@@ -3883,7 +3883,9 @@ msgid ""
" /exec -nf -noln links -dump http://weechat.org/files/doc/devel/"
"weechat_user.en.html\n"
" /exec -o uptime\n"
-" /exec -pipe \"/print Machine uptime:\" uptime"
+" /exec -pipe \"/print Machine uptime:\" uptime\n"
+" /exec -n tail -f /var/log/messages\n"
+" /exec -kill 0"
msgstr ""
msgid "ids (numbers and names) of executed commands"
diff --git a/src/plugins/exec/exec-command.c b/src/plugins/exec/exec-command.c
index f3d7084f8..0b54c7cb1 100644
--- a/src/plugins/exec/exec-command.c
+++ b/src/plugins/exec/exec-command.c
@@ -873,7 +873,9 @@ exec_command_init ()
" /exec -nf -noln links -dump "
"http://weechat.org/files/doc/devel/weechat_user.en.html\n"
" /exec -o uptime\n"
- " /exec -pipe \"/print Machine uptime:\" uptime"),
+ " /exec -pipe \"/print Machine uptime:\" uptime\n"
+ " /exec -n tail -f /var/log/messages\n"
+ " /exec -kill 0"),
"-list"
" || -sh|-nosh|-bg|-nobg|-stdin|-nostdin|-buffer|-l|-o|-n|-nf|"
"-cl|-nocl|-sw|-nosw|-ln|-noln|-flush|-noflush|-color|-timeout|-name|"