diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-03 12:22:53 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-03 12:22:53 +0200 |
commit | d055d4a2bdfc79f4339cba934d662bc46825f141 (patch) | |
tree | f396743bd68db34c06d61c18932d3f3efb5418c0 | |
parent | 7c55cbb38b6d42073eacf7decc4d08eb8677e60e (diff) | |
download | weechat-d055d4a2bdfc79f4339cba934d662bc46825f141.zip |
exec: add examples with "tail -f" and "-kill" in /help exec
-rw-r--r-- | doc/de/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | doc/en/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | doc/fr/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | doc/it/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | doc/ja/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | doc/pl/autogen/user/exec_commands.txt | 2 | ||||
-rw-r--r-- | po/cs.po | 6 | ||||
-rw-r--r-- | po/de.po | 6 | ||||
-rw-r--r-- | po/es.po | 6 | ||||
-rw-r--r-- | po/fr.po | 12 | ||||
-rw-r--r-- | po/hu.po | 6 | ||||
-rw-r--r-- | po/it.po | 6 | ||||
-rw-r--r-- | po/ja.po | 6 | ||||
-rw-r--r-- | po/pl.po | 6 | ||||
-rw-r--r-- | po/pt_BR.po | 6 | ||||
-rw-r--r-- | po/ru.po | 6 | ||||
-rw-r--r-- | po/tr.po | 6 | ||||
-rw-r--r-- | po/weechat.pot | 6 | ||||
-rw-r--r-- | src/plugins/exec/exec-command.c | 4 |
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 ---- @@ -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" @@ -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 " @@ -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" @@ -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" @@ -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" @@ -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" @@ -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: コマンドを実行する際にシェルを使う (警告: このオプションを使えるの" @@ -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" @@ -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" @@ -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|" |