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.
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.
You can try escaping the command like so
Which will execute
date
and concatenate the output of the command into thetwidge
command.According to the
twidge
help infoJust pipe the command to twidge via stdin.
Yep, if I understand you properly, this will do it:
If
twidge
doesn't like it, trytwidge update "$(date)"
, quotation marks to pass it in as one long string.