juanfal Posted November 11, 2022 Share Posted November 11, 2022 Trying to make Oxford pronounce fewer than 5 words, and the System 'say' more than 4 words. The bash script is simple and used to work and works on Terminal, but I don't see why it doesn't work now, and always goes to System say (oa is a script that resorts to Oxford web page to pronounce it) Link to comment
vitor Posted November 11, 2022 Share Posted November 11, 2022 (edited) You’re using with input as argv but have written {query} every time. Either switch to with input as {query} or (better) replace every instance of {query} with ${1}. Bash doesn’t have a concept of {query}, so your code won’t work in a terminal as is. Edited November 11, 2022 by vitor Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now