diff -Nru voice-commands-1.0.2/debian/bzr-builder.manifest voice-commands-1.0.2/debian/bzr-builder.manifest --- voice-commands-1.0.2/debian/bzr-builder.manifest 2014-09-10 07:31:28.000000000 +0000 +++ voice-commands-1.0.2/debian/bzr-builder.manifest 2014-09-10 09:08:23.000000000 +0000 @@ -1,2 +1,2 @@ -# bzr-builder format 0.3 deb-version 1.0.2-4 -lp:~baitsart/+junk/voice-commands revid:baitsart@gmail.com-20140910072053-z10gko7hyuzd9nxn +# bzr-builder format 0.3 deb-version 1.0.2-5 +lp:~baitsart/+junk/voice-commands revid:baitsart@gmail.com-20140910090620-2zz2cccniya353m8 diff -Nru voice-commands-1.0.2/debian/changelog voice-commands-1.0.2/debian/changelog --- voice-commands-1.0.2/debian/changelog 2014-09-10 07:31:28.000000000 +0000 +++ voice-commands-1.0.2/debian/changelog 2014-09-10 09:08:23.000000000 +0000 @@ -1,18 +1,20 @@ -voice-commands (1.0.2-4~ubuntu12.04.1) precise; urgency=low +voice-commands (1.0.2-5~ubuntu12.04.1) precise; urgency=low * Auto build. - -- Rodrigo Esteves Wed, 10 Sep 2014 07:31:28 +0000 + -- Rodrigo Esteves Wed, 10 Sep 2014 09:08:23 +0000 -voice-commands (1.0.2-4) stable; urgency=low +voice-commands (1.0.2-5) stable; urgency=low - * Add command line « v-c -remove ». To remove some "new action" + * Fix a small bug of the new command line « v-c -remove ». + -- Rodrigo Esteves Wed, 10 Sep 2014 05:46:59 -0300 + +voice-commands (1.0.2-4) stable; urgency=low + * Add command line « v-c -remove ». To remove some "new action" * Update CHANGE_TAB, and ALARM, actions.n * Modify « v-c -translate », command - -- Rodrigo Esteves Wed, 10 Sep 2014 02:31:18 -0300 - voice-commands (1.0.2-3) stable; urgency=low * On play_stop, auto check for internet connectivity * Update, and fix a bug, to ADD_NEW_ACTION function. diff -Nru voice-commands-1.0.2/voice_command/Scripts/hace_leeme.sh voice-commands-1.0.2/voice_command/Scripts/hace_leeme.sh --- voice-commands-1.0.2/voice_command/Scripts/hace_leeme.sh 2014-09-10 07:31:27.000000000 +0000 +++ voice-commands-1.0.2/voice_command/Scripts/hace_leeme.sh 2014-09-10 09:08:23.000000000 +0000 @@ -146,7 +146,7 @@ Command name *activate with* " >> '/tmp/README_TEMP' -lines_to_paste=$(cat "/usr/bin/voice_commands/v-c LANGS/commands-$TO" | sed '/file backup on: .\/Scripts\/New_actions\/.old/d' | tr '\n' ';' | sed 's/SELECT_FILE/SELECT_FILE << texto-citado >>/g;s/MUSIC_START_SONG/MUSIC_START_SONG << texto-citado >>/g;s/SEARCH;/SEARCH << texto-citado >>;/g;s/TRANSLATE/TRANSLATE \[from\] \[to\] << texto-citado >>/g;s/WRITE;/WRITE << texto-citado >>;/g;s/WRITE_CAPITAL;/WRITE_CAPITAL << texto-citado >>;/g;s/WRITE_CAPITAL_ALL/WRITE_CAPITAL_ALL << texto-citado >>/g;s/SAY_THIS/SAY_THIS << texto-citado >>/g;s/GOOGLE_SEARCH/GOOGLE_SEARCH << texto-citado >>/g;s/YOUTUBE_SEARCH/YOUTUBE_SEARCH << texto-citado >>/g;s/WIKI_SEARCH/WIKI_SEARCH << texto-citado >>/g;s/WEATHER/WEATHER << texto-citado >>/g;s/SEARCH_MAPS/SEARCH_MAPS << texto-citado >>/g;s/SAY_HI/SAY_HI << texto-citado >>/g;s/;CMD_OPEN_FOLDER_OF=/\\|/g;s/OPEN_FOLDER/OPEN_FOLDER << texto-citado >>/g;s/DICTATION/DICTATION << texto-citado-continuo >>/g;s/CHANGE_TAB/CHANGE_TAB << números-citados >>/g;s/ALARM/ALARM << números-citados \[days\] \[hours\] \[minutes\] \[seconds\] to sleep >>/g;s/CALCULATOR/CALCULATOR << operación-citada >>/g;s/OFFICE/OFFICE << texto-citado \[ writer, calc, impress, draw, math \] >>/g;s/CMD_/);################################; /g;s/=/; (/g;s/;)/)/g;s/;Writer; /);Writer/g;s/;Calc; /);Calc/g;s/;Impress; /);Impress/g;s/;Draw; /);Draw/g;s/;Math; /);Math/g;s/\\|/ | /g;s/;Sum; /);Sum/g;s/;Rest; /);Rest/g;s/;Multiplication; /);Multiplication/g;s/;Division; /);Division/g;s/;Square; /);Square/g;s/;Percent; /);Percent/g;s/;Root; /);Root/g;s/;Dot; /);Dot/g;s/;Comma; /);Comma/g' | tr ';' '\n' | sed '1d' ) +lines_to_paste=$(cat "/usr/bin/voice_commands/v-c LANGS/commands-$TO" | sed '/#/d' | tr '\n' ';' | sed 's/SELECT_FILE/SELECT_FILE << texto-citado >>/g;s/MUSIC_START_SONG/MUSIC_START_SONG << texto-citado >>/g;s/SEARCH;/SEARCH << texto-citado >>;/g;s/TRANSLATE/TRANSLATE \[from\] \[to\] << texto-citado >>/g;s/WRITE;/WRITE << texto-citado >>;/g;s/WRITE_CAPITAL;/WRITE_CAPITAL << texto-citado >>;/g;s/WRITE_CAPITAL_ALL/WRITE_CAPITAL_ALL << texto-citado >>/g;s/SAY_THIS/SAY_THIS << texto-citado >>/g;s/GOOGLE_SEARCH/GOOGLE_SEARCH << texto-citado >>/g;s/YOUTUBE_SEARCH/YOUTUBE_SEARCH << texto-citado >>/g;s/WIKI_SEARCH/WIKI_SEARCH << texto-citado >>/g;s/WEATHER/WEATHER << texto-citado >>/g;s/SEARCH_MAPS/SEARCH_MAPS << texto-citado >>/g;s/SAY_HI/SAY_HI << texto-citado >>/g;s/;CMD_OPEN_FOLDER_OF=/\\|/g;s/OPEN_FOLDER/OPEN_FOLDER << texto-citado >>/g;s/DICTATION/DICTATION << texto-citado-continuo >>/g;s/CHANGE_TAB/CHANGE_TAB << números-citados >>/g;s/ALARM/ALARM << números-citados \[days\] \[hours\] \[minutes\] \[seconds\] to sleep >>/g;s/CALCULATOR/CALCULATOR << operación-citada >>/g;s/OFFICE/OFFICE << texto-citado \[ writer, calc, impress, draw, math \] >>/g;s/CMD_/);################################; /g;s/=/; (/g;s/;)/)/g;s/;Writer; /);Writer/g;s/;Calc; /);Calc/g;s/;Impress; /);Impress/g;s/;Draw; /);Draw/g;s/;Math; /);Math/g;s/\\|/ | /g;s/;Sum; /);Sum/g;s/;Rest; /);Rest/g;s/;Multiplication; /);Multiplication/g;s/;Division; /);Division/g;s/;Square; /);Square/g;s/;Percent; /);Percent/g;s/;Root; /);Root/g;s/;Dot; /);Dot/g;s/;Comma; /);Comma/g' | tr ';' '\n' | sed '1d' ) echo "`echo "$lines_to_paste"`) ################################ @@ -173,7 +173,7 @@ # Licencia GNU. Eres libre de modificar y redistribuir # " >> '/tmp/LEEME_TEMP' -lines_to_paste_en=$(cat "/usr/bin/voice_commands/v-c LANGS/commands-$TO" | sed '/file backup on: .\/Scripts\/New_actions\/.old/d' | tr '\n' ';' | sed 's/SELECT_FILE/SELECT_FILE << cited-text >>/g;s/MUSIC_START_SONG/MUSIC_START_SONG << cited-text >>/g;s/SEARCH;/SEARCH << cited-text >>;/g;s/TRANSLATE/TRANSLATE \[from\] \[to\] << cited-text >>/g;s/WRITE;/WRITE << cited-text >>;/g;s/WRITE_CAPITAL;/WRITE_CAPITAL << cited-text >>;/g;s/WRITE_CAPITAL_ALL/WRITE_CAPITAL_ALL << cited-text >>/g;s/SAY_THIS/SAY_THIS << cited-text >>/g;s/GOOGLE_SEARCH/GOOGLE_SEARCH << cited-text >>/g;s/YOUTUBE_SEARCH/YOUTUBE_SEARCH << cited-text >>/g;s/WIKI_SEARCH/WIKI_SEARCH << cited-text >>/g;s/WEATHER/WEATHER << cited-text >>/g;s/SEARCH_MAPS/SEARCH_MAPS << cited-text >>/g;s/SAY_HI/SAY_HI << cited-text >>/g;s/;CMD_OPEN_FOLDER_OF=/\\|/g;s/OPEN_FOLDER/OPEN_FOLDER << cited-text >>/g;s/DICTATION/DICTATION << cited-text-continuo >>/g;s/CHANGE_TAB/CHANGE_TAB << cited-numbers >>/g;s/ALARM/ALARM << cited-numbers \[days\] \[hours\] \[minutes\] \[seconds\] to sleep >>/g;s/CALCULATOR/CALCULATOR << cited-operation >>/g;s/OFFICE/OFFICE << cited-text \[ writer, calc, impress, draw, math \] >>/g;s/CMD_/);################################; /g;s/=/; (/g;s/;)/)/g;s/;Writer; /);Writer/g;s/;Calc; /);Calc/g;s/;Impress; /);Impress/g;s/;Draw; /);Draw/g;s/;Math; /);Math/g;s/\\|/ | /g;s/;Sum; /);Sum/g;s/;Rest; /);Rest/g;s/;Multiplication; /);Multiplication/g;s/;Division; /);Division/g;s/;Square; /);Square/g;s/;Percent; /);Percent/g;s/;Root; /);Root/g;s/;Dot; /);Dot/g;s/;Comma; /);Comma/g' | tr ';' '\n' | sed '1d') +lines_to_paste_en=$(cat "/usr/bin/voice_commands/v-c LANGS/commands-$TO" | sed '/#/d' | tr '\n' ';' | sed 's/SELECT_FILE/SELECT_FILE << cited-text >>/g;s/MUSIC_START_SONG/MUSIC_START_SONG << cited-text >>/g;s/SEARCH;/SEARCH << cited-text >>;/g;s/TRANSLATE/TRANSLATE \[from\] \[to\] << cited-text >>/g;s/WRITE;/WRITE << cited-text >>;/g;s/WRITE_CAPITAL;/WRITE_CAPITAL << cited-text >>;/g;s/WRITE_CAPITAL_ALL/WRITE_CAPITAL_ALL << cited-text >>/g;s/SAY_THIS/SAY_THIS << cited-text >>/g;s/GOOGLE_SEARCH/GOOGLE_SEARCH << cited-text >>/g;s/YOUTUBE_SEARCH/YOUTUBE_SEARCH << cited-text >>/g;s/WIKI_SEARCH/WIKI_SEARCH << cited-text >>/g;s/WEATHER/WEATHER << cited-text >>/g;s/SEARCH_MAPS/SEARCH_MAPS << cited-text >>/g;s/SAY_HI/SAY_HI << cited-text >>/g;s/;CMD_OPEN_FOLDER_OF=/\\|/g;s/OPEN_FOLDER/OPEN_FOLDER << cited-text >>/g;s/DICTATION/DICTATION << cited-text-continuo >>/g;s/CHANGE_TAB/CHANGE_TAB << cited-numbers >>/g;s/ALARM/ALARM << cited-numbers \[days\] \[hours\] \[minutes\] \[seconds\] to sleep >>/g;s/CALCULATOR/CALCULATOR << cited-operation >>/g;s/OFFICE/OFFICE << cited-text \[ writer, calc, impress, draw, math \] >>/g;s/CMD_/);################################; /g;s/=/; (/g;s/;)/)/g;s/;Writer; /);Writer/g;s/;Calc; /);Calc/g;s/;Impress; /);Impress/g;s/;Draw; /);Draw/g;s/;Math; /);Math/g;s/\\|/ | /g;s/;Sum; /);Sum/g;s/;Rest; /);Rest/g;s/;Multiplication; /);Multiplication/g;s/;Division; /);Division/g;s/;Square; /);Square/g;s/;Percent; /);Percent/g;s/;Root; /);Root/g;s/;Dot; /);Dot/g;s/;Comma; /);Comma/g' | tr ';' '\n' | sed '1d') echo "`echo "$lines_to_paste_en"`) ################################ diff -Nru voice-commands-1.0.2/voice_command/v-c voice-commands-1.0.2/voice_command/v-c --- voice-commands-1.0.2/voice_command/v-c 2014-09-10 07:31:27.000000000 +0000 +++ voice-commands-1.0.2/voice_command/v-c 2014-09-10 09:08:23.000000000 +0000 @@ -121,8 +121,7 @@ exit fi if echo "$1" | grep -q -- "-remove\|-rem"; then -cmd=$(echo "$@" | sed 's/'"$1"' //' ) -sh /usr/bin/voice_commands/Scripts/remove_some.sh "$cmd" +sh /usr/bin/voice_commands/Scripts/remove_some.sh "$2" exit fi if echo "$1" | grep -q -- "-l\|-lang"; then @@ -153,13 +152,13 @@ fi if echo "$1" | grep -x -q -i -- "-v\|-version"; then echo "# Voice commands (command your PC speaking commands) # -Version 1.0.2-4" +Version 1.0.2-5" exit fi if echo "$1" | grep -x -q -i -- "--help"; then echo " # Voice commands (command your PC speaking commands) # -Version 1.0.2-4 +Version 1.0.2-5 v-c , command line options v-c -r Run