From a3bf241391958ce845ada4555d1ea8105b333c06 Mon Sep 17 00:00:00 2001 From: luis Date: Tue, 23 Aug 2005 17:05:26 +0000 Subject: Added command uniq and variables stdin and first_blank_line, and made some small corrections. --- GUIDELINES | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) (limited to 'GUIDELINES') diff --git a/GUIDELINES b/GUIDELINES index c0ac0be..7c8d100 100755 --- a/GUIDELINES +++ b/GUIDELINES @@ -9,19 +9,20 @@ In the future this procedure will be automatic. 1 - After any adition to firma, check the following: ---------------------------------------------------- - - Put all new variables in the variables list - - If the new var is used via config-file, add its creation - in the function 'newlist' - - Put all new functions in the function list - - Put all new arrays in var USED_ARRAYS + - Put all new variables in the variables list bellow + - If a new variable has to be declared via a config-file, + remember to set it to be created in the NewList function + - Put all new functions in the functions list bellow + - Put all new arrays in the GLOBAL_ARRAYS variable - If you are using an unix command, check if its already - listed in the command list, if not please add it + listed in the commands list. If it's not, please add it 2 - Variables usage ------------------- - - Global vars: uppercase - - Local vars: lowercase, declared with "local" + - Global vars: uppercase, with spaces replaced by underscores + - Local vars: lowercase, with spaces replaced by underscores and + declared using "local" - Attention to variables initialization, unset all vars after use 3 - Script listing @@ -49,7 +50,7 @@ In the future this procedure will be automatic. - used variables: - - via config file + - declared via a config file GPG_BINARY MAIL_AGENT @@ -61,8 +62,9 @@ In the future this procedure will be automatic. LIST_HOMEDIR PASSPHRASE - - direct at firma + - declared directly via firma + FIRMA_CONFIG_FILE VERSION GPG @@ -71,26 +73,30 @@ In the future this procedure will be automatic. GPG_DECRYPT GPG_ENCRYPT - LISTS_DIR - SENDER_ADDRESS - ARRAY - LIST_NAME - LIST_PATH - LIST_CONFIG_FILE - FIRMA_CONFIG_FILE - FROM DATE SUBJECT + SENDER_ADDRESS DESCRIPTION + ARRAY + LIST_NAME + LIST_PATH + LIST_CONFIG_FILE + - local vars administrator + stdin + element + first_blank_line + i + j email keyid - element, i, j, uid_count, chosen_uid_number + uid_count + chosen_uid_number - arrays @@ -117,3 +123,5 @@ In the future this procedure will be automatic. basename expect fold + uniq + -- cgit v1.2.3