From 7eb8cd4eb71610700e7a7f3fdd877c0b38a8863c Mon Sep 17 00:00:00 2001 From: Andre Date: Sun, 21 Jan 2007 22:00:37 +0100 Subject: [PATCH] nuke the AN (array name) header field The previous patches changed that name to ${file_name%command_list}cmds, so it is a derived string that does not need to be specified any more. --- audiod.cmd | 1 - command_util.sh | 4 +--- mysql_selector.cmd | 1 - playlist_selector.cmd | 1 - random_selector.cmd | 1 - server.cmd | 1 - 6 files changed, 1 insertion(+), 8 deletions(-) diff --git a/audiod.cmd b/audiod.cmd index a484c9bc..598a823c 100644 --- a/audiod.cmd +++ b/audiod.cmd @@ -2,7 +2,6 @@ FN: audiod_command_list HC: prototypes for the audiod command handlers CC: array of audiod commands AT: audiod_command -AN: audiod_cmds IN: list para sched audiod --- N: cycle diff --git a/command_util.sh b/command_util.sh index 43f4dba8..1b437657 100755 --- a/command_util.sh +++ b/command_util.sh @@ -37,13 +37,11 @@ read_header() ;; FN:) file_name="$value" + array_name=${value%command_list}cmds ;; AT:) array_type="$value" ;; - AN:) - array_name="$value" - ;; IN:) for i in $value; do includes="$includes diff --git a/mysql_selector.cmd b/mysql_selector.cmd index 75be740b..ec58ef1e 100644 --- a/mysql_selector.cmd +++ b/mysql_selector.cmd @@ -2,7 +2,6 @@ FN: mysql_selector_command_list HC: prototypes for the commands of the mysql audio file selector CC: array of commands for the mysql audio file selector AT: server_command -AN: mysql_selector_cmds IN: server user_list --- N: cam diff --git a/playlist_selector.cmd b/playlist_selector.cmd index f7253810..a6d818cd 100644 --- a/playlist_selector.cmd +++ b/playlist_selector.cmd @@ -2,7 +2,6 @@ FN: playlist_selector_command_list HC: prototypes for the commands of the playlist audio file selector CC: array of commands for the playlist audio file selector AT: server_command -AN: playlist_selector_cmds IN: server user_list --- N: ppl diff --git a/random_selector.cmd b/random_selector.cmd index 21dc1438..8b8ab849 100644 --- a/random_selector.cmd +++ b/random_selector.cmd @@ -2,7 +2,6 @@ FN: random_selector_command_list HC: prototypes for the commands of the random audio file selector CC: array of commands for the random audio file selector AT: server_command -AN: random_selector_cmds IN: server user_list --- N: random_info diff --git a/server.cmd b/server.cmd index 9d7c4b08..b50c9c93 100644 --- a/server.cmd +++ b/server.cmd @@ -2,7 +2,6 @@ FN: server_command_list HC: prototypes for the server command handlers CC: array of server commands AT: server_command -AN: server_cmds IN: server user_list --- N: chs -- 2.39.2