usage: ./replace.sh ../ecore_data.rpl ../ecore_data.grep
Note don't save the .rpl and the .grep file in the directory that you want to change, else the script will replace the strings in those files, too.
Peter
replace.sh
Description: application/shellscript
ecore_list_nodes ecore_list_is_empty ecore_list_set_free_cb ecore_dlist_nodes ecore_dlist_is_empty ecore_dlist_set_free_cb ecore_hash_set_free_key ecore_hash_set_free_value ecore_hash_set_hash ecore_plugin_get_available ecore_sheap_set_free_cb ecore_sheap_set_compare ecore_sheap_set_order ecore_tree_is_empty ecore_tree_get_closest_larger ecore_tree_get_closest_smaller ecore_tree_add_node ecore_tree_remove_node ecore_tree_set_free_value ecore_tree_set_free_key ecore_list_remove_first ecore_list_remove_last ecore_list_goto_first ecore_list_goto_last ecore_list_goto_index ecore_dlist_remove_first ecore_dlist_remove_last ecore_dlist_goto_first ecore_dlist_goto_last ecore_dlist_goto_index ecore_file_get_file ecore_file_get_dir
s/ecore_list_nodes/ecore_list_count/g; s/ecore_list_is_empty/ecore_list_empty_is/g; s/ecore_list_set_free_cb/ecore_list_free_cb_set/g; s/ecore_dlist_nodes/ecore_dlist_count/g; s/ecore_dlist_is_empty/ecore_dlist_empty_is/g; s/ecore_dlist_set_free_cb/ecore_dlist_free_cb_set/g; s/ecore_hash_set_free_key/ecore_hash_free_key_cb_set/g; s/ecore_hash_set_free_value/ecore_hash_free_value_cb_set/g; s/ecore_hash_set_hash/ecore_hash_hash_set/g; s/ecore_plugin_get_available/ecore_plugin_available_get/g; s/ecore_sheap_set_free_cb/ecore_sheap_free_cb_set/g; s/ecore_sheap_set_compare/ecore_sheap_compare_set/g; s/ecore_sheap_set_order/ecore_sheap_order_set/g; s/ecore_tree_is_empty/ecore_tree_empty_is/g; s/ecore_tree_get_closest_larger/ecore_tree_closest_larger_get/g; s/ecore_tree_get_closest_smaller/ecore_tree_closest_smaller_get/g; s/ecore_tree_add_node/ecore_tree_node_add/g; s/ecore_tree_remove_node/ecore_tree_node_remove/g; s/ecore_tree_set_free_value/ecore_tree_free_value_cb_set/g; s/ecore_tree_set_free_key/ecore_tree_free_key_cb_set/g; s/ecore_list_remove_first/ecore_list_first_remove/g; s/ecore_list_remove_last/ecore_list_last_remove/g; s/ecore_list_goto_first/ecore_list_first_goto/g; s/ecore_list_goto_last/ecore_list_last_goto/g; s/ecore_list_goto_index/ecore_list_index_goto/g; s/ecore_dlist_remove_first/ecore_dlist_first_remove/g; s/ecore_dlist_remove_last/ecore_dlist_last_remove/g; s/ecore_dlist_goto_first/ecore_dlist_first_goto/g; s/ecore_dlist_goto_last/ecore_dlist_last_goto/g; s/ecore_dlist_goto_index/ecore_dlist_index_goto/g; s/ecore_file_get_file/ecore_file_file_get/g; s/ecore_file_get_dir/ecore_file_dir_get/g;
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
