1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 18:53:12 +02:00

Replaced tail by sed

This commit is contained in:
Sebastien Helleu
2006-05-25 16:39:41 +00:00
parent 5816e4526e
commit 2e7e88f7fa
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -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";
}
+4 -4
View File
@@ -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";
}