Can I run a command within another command for example:
twidge update date
date being the bash command
date so effectively,
twidge will update twitter with today's date.
twidge is a CLI based twitter client.
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
You can try escaping the command like so
twidge update "$(date)"
Which will execute
date and concatenate the output of the command into the
According to the
twidge help info
You can also omit the status, in which case a single line will be read from stdin and taken as your update. Example:
date | twidge update
Just pipe the command to twidge via stdin.