Browse Source

Added example for -p flag to README

Jezra 9 years ago
parent
commit
e129493823
1 changed files with 11 additions and 0 deletions
  1. 11
    0
      README.md

+ 11
- 0
README.md View File

@@ -35,6 +35,17 @@ To run blather with the GTK UI and start in continuous listen mode:
35 35
 To run blather with no UI and using a USB microphone recognized and device 2:
36 36
 `./Blather.py -m 2`
37 37
 
38
+
39
+To have blather pass the matched sentence to the executing command:  
40
+ `./Blather -p`  
41
+
42
+ **explanation:** if the commands.conf contains:  
43
+ **good morning world : example_command.sh**   
44
+ then 3 arguments, 'good', 'morning', and 'world' would get passed to example_command.sh as  
45
+ `example_command.sh good morning world`
46
+
47
+
48
+
38 49
 ###Finding the Device Number of a USB microphone
39 50
 There are a few ways to find the device number of a USB microphone.
40 51
 

Loading…
Cancel
Save