Laste version with clean FEATURES.md list

This commit is contained in:
Jean-Marie Renouard 2023-06-11 12:09:10 -04:00
parent f826f8c22d
commit e86778b43b
2 changed files with 4 additions and 56 deletions

View file

@ -2,40 +2,11 @@ Features list for option: --feature (dev only)
---
* arr2hash
* badprint
* calculations
* check_architecture
* check_metadata_perf
* check_storage_engines
* close_outputfile
* cmdprint
* compare_tuner_version
* cpu_cores
* cve_recommendations
* debugprint
* dump_result
* file2array
* file2string
* get_all_vars
* get_basic_passwords
* get_file_contents
* get_gcache_memory
* get_http_cli
* get_log_file_real_path
* get_opened_ports
* get_os_release
* get_other_process_memory
* get_pf_memory
* get_process_memory
* get_replication_status
* get_wsrep_option
* get_wsrep_options
* goodprint
* greenwrap
* grep_file_contents
* headerprint
* human_size
* log_file_recommendations
* make_recommendations
* mariadb_aria
@ -46,7 +17,6 @@ Features list for option: --feature (dev only)
* mariadb_threadpool
* mariadb_tokudb
* mariadb_xtradb
* memerror
* merge_hash
* mysql_databases
* mysql_indexes
@ -63,32 +33,9 @@ Features list for option: --feature (dev only)
* mysql_version_le
* mysql_views
* os_setup
* percentage
* pretty_uptime
* prettyprint
* redwrap
* remove_cr
* remove_empty
* security_recommendations
* select_array
* select_array_with_headers
* select_csv_file
* select_indexes_db
* select_one
* select_one_g
* select_routines_db
* select_str_g
* select_table_columns_db
* select_table_indexes_db
* select_tables_db
* select_triggers_db
* select_user_dbs
* select_views_db
* string2file
* subheaderprint
* system_recommendations
* trim
* update_tuner_version
* validate_mysql_version
* validate_tuner_version
* which

View file

@ -2,11 +2,12 @@
# Update Feature list
(
export LANG=C
echo -e "Features list for option: --feature (dev only)\n---\n\n"
grep -E '^sub ' ../mysqltuner.pl | \
perl -pe 's/sub //;s/\s*\{//g'| \
perl -pe 's/sub //;s/\s*\{//g' | \
sort -n | \
perl -pe 's/^/* /g' | \
grep -vE '(is_|hr_|info)'
grep -vE '(get_|close_|check_|memerror|human_size|string2file|file2|arr2|dump|which|percentage|trim|is_|hr_|info|print|select|wrap|remove_)'
) > ../FEATURES.md
cat ../FEATURES.md