aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-01-11Divide CHANGELOG into a few more sectionsHEADmasterEinhard Leichtfuß
2019-01-11Update Copyright yearsEinhard Leichtfuß
Also, - update date in each of the man pages, - add reference to bash(1) in ctct_config(5), - fix typo in ctct(1).
2019-01-10Honor $VISUALEinhard Leichtfuß
It does now take precedence over $EDITOR when editing files. You probably do not want to edit contact entries with ed.
2019-01-10Update CHANGELOGEinhard Leichtfuß
2018-12-29Fix return value in display_exactEinhard Leichtfuß
Also, - declare constant variables actually as constant. - use `-mindepth 1' in addition to `-maxdepth 1' for find.
2018-12-26Reword licensing information in READMEEinhard Leichtfuß
2018-12-26Fix bash completionEinhard Leichtfuß
2018-12-25Update version in READMEEinhard Leichtfuß
2018-12-25Use arrays for the program variablesEinhard Leichtfuß
Also, - Fix --search-by-data with $output_program != cat. `- Required a the introduction of $tmp_dir. - Correct some bad explanation in ctct_config(5). - Correctly initialize $user_config_file in the script.
2018-12-25Update CHANGELOGEinhard Leichtfuß
2018-12-25Remove sed dependency from READMEEinhard Leichtfuß
2018-12-25Decide the next version to be 0.3.0, not 0.2.3Einhard Leichtfuß
2018-12-25Fix --search-by-data and rename its bash functionEinhard Leichtfuß
2018-12-25Globally use the same (default_)user_config_dirEinhard Leichtfuß
Also, - Fix issues with doubled slashes in man pages (in configure.ac). - Update some copyright years.
2018-12-25Prevent matching illegal sequences globallyEinhard Leichtfuß
E.g., a+b will no longer be matched by anything. This is due to the global usage of a modified list_all(). Also: - Use different return types for different things (e.g. $RET_SUCCESS). `- Both internally and externally (exit codes, documented in ctct(1)). - Make --search-by-data more efficient. `- One call to grep for all files. `- The conjunction of the regexes still requires several calls. - Rename functions to more speaking names. - Document the function parameters. - Add vi modelines. - Use [[:alpha:]] instead of [A-Za-z] which appears to be the same but more clear. Notably, both seem to include non-ASCII letters, for example 'à'. - Set nullglob option in the script to prevent errors for cases where glob patterns would be used. - Add a silent option ro check_syntax() (not used). - Add a full_path option to list_all() (not used). - Use return instead of exit in main(). - Remove one remaining usage of eval. - Fix small format issue in ctct(1) (I -> B). `- They are no longer, but it hardly harms to have this option.
2018-12-24Rename conf file and bash completion scriptEinhard Leichtfuß
Also, - Add the new manpage to the Makefile. - Add additional dependencies in README. - Fix some small formatting mistakes in ctct(1).
2018-12-24Split off ctct_config(5)Einhard Leichtfuß
2018-12-24Improve ctct(1)Einhard Leichtfuß
- Try to conform to man-pages(7). `- Try to avoid technical information. `- Remove the CONFIGURATION section. It's contents are to reappear in ctct_config(5) which ctct(1) already references. - Add some commented blank lines to improve readability. Also, in the main script: - Add EXIT_* variables. Not yet used. - Improve the naming in the help output. - Stop option parsing on '--'. - In the default case (i.e. no special option), return 1 if only a non exact match was found.
2018-12-24Use unquoted program variablesEinhard Leichtfuß
E.g. $editor, $output_program. This is necessary in case the variables contain spaces which are to be interpreted as argument separators. Before, eval was sometimes used, which is too much.
2018-12-24Switch to EREs for --search-by-dataEinhard Leichtfuß
Also, use `rm -f' for deletion instead of plain `rm'.
2018-12-24Merge the different version's CHANGELOGsEinhard Leichtfuß
2018-12-04Change shebang of bash-completion fileEinhard Leichtfuß
/bin/bash -> /usr/bin/env bash bash may be located elsewhere. Was changed before for the main script.
2018-12-03Treat temporary file with careEinhard Leichtfuß
Particularly in case somebody uses de-/encrypting {input,ouput}_program, it is important that the temporary file containing the decrypted data remains only accessible by the current user and is deleted when no longer needed.
2018-12-02Update copyright noticeEinhard Leichtfuß
2018-12-02Simplify configure.acEinhard Leichtfuß
- Remove unnecessary AC_SUBST. - AC_SUBST([default_confdir]) `- Simplify, paricularly get rid of sed. `- Use local variables. `- Fix prefix=/ resulting in //'s.
2018-11-29Update copyright noticesEinhard Leichtfuß
2018-11-29Small cosmetic changesEinhard Leichtfuß
- Do not declare variables as local if they are also declared using `typeset'. - Slightly improve man page. - Change license links to https. - Update TODO
2017-08-04Change e-mail adress informationEinhard Leichtfuß
2017-08-03Initial commit of ctctEinhard Leichtfuß
Somewhere after version 0.2.2. Most notably, ctct can now be properly installed on OpenBSD and most likely other BSDs.