0

When using the stock Command Output Applet how can I display a command output plus a string. For example echo date -u +%R`" UTC" outputs 12:59 UTC as expected from terminal but does not work properly in applet. First image shows what I wanted minus the UTC label.

enter image description here

enter image description here

sealfab
  • 173
  • I don't know anything about the applet you're referencing, but just wanted to point out that there's no need to use echo + command substitution here - you can add text directly to the date format string i.e. date '+%R UTC' (although I suspect you should really be using date '%R %Z' rather than assuming the timezone). – steeldriver Nov 11 '17 at 13:40
  • I added some pics – sealfab Nov 11 '17 at 14:34

0 Answers0