diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2006-05-25 16:39:41 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2006-05-25 16:39:41 +0000 |
commit | 2e7e88f7fab4ab45711cc63b26dd355dea811824 (patch) | |
tree | a8673d335f4695fc9db82bf40a264d6bcb8503f8 | |
parent | 5816e4526e2794b95a92fb545cb139170ec1d9f6 (diff) | |
download | weechat-2e7e88f7fab4ab45711cc63b26dd355dea811824.zip |
Replaced tail by sed
-rwxr-xr-x | doc/buildxml.pl | 8 | ||||
-rwxr-xr-x | weechat/doc/buildxml.pl | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/buildxml.pl b/doc/buildxml.pl index ba59edfd4..9af6f5b95 100755 --- a/doc/buildxml.pl +++ b/doc/buildxml.pl @@ -49,13 +49,13 @@ $warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n" foreach $lng (@all_lang) { create_commands ($lng, $all_encodings{$lng}, - "weechat-curses -w | tail +3", "weechat_commands"); + "weechat-curses -w | sed 1,2d", "weechat_commands"); create_commands ($lng, $all_encodings{$lng}, - "weechat-curses -i | tail +3", "irc_commands"); + "weechat-curses -i | sed 1,2d", "irc_commands"); create_key_func ($lng, $all_encodings{$lng}, - "weechat-curses -f | tail +3", "key_functions"); + "weechat-curses -f | sed 1,2d", "key_functions"); create_config ($lng, $all_encodings{$lng}, - "weechat-curses -c | tail +3", "config"); + "weechat-curses -c | sed 1,2d", "config"); print "\n"; } diff --git a/weechat/doc/buildxml.pl b/weechat/doc/buildxml.pl index ba59edfd4..9af6f5b95 100755 --- a/weechat/doc/buildxml.pl +++ b/weechat/doc/buildxml.pl @@ -49,13 +49,13 @@ $warning_do_not_edit = "\n<!-- ********* WARNING! *********\n\n" foreach $lng (@all_lang) { create_commands ($lng, $all_encodings{$lng}, - "weechat-curses -w | tail +3", "weechat_commands"); + "weechat-curses -w | sed 1,2d", "weechat_commands"); create_commands ($lng, $all_encodings{$lng}, - "weechat-curses -i | tail +3", "irc_commands"); + "weechat-curses -i | sed 1,2d", "irc_commands"); create_key_func ($lng, $all_encodings{$lng}, - "weechat-curses -f | tail +3", "key_functions"); + "weechat-curses -f | sed 1,2d", "key_functions"); create_config ($lng, $all_encodings{$lng}, - "weechat-curses -c | tail +3", "config"); + "weechat-curses -c | sed 1,2d", "config"); print "\n"; } |