1 #!/bin/bash
   2 
   3 next+=$(calcurse -n | sed 1d)
   4 next+=$(calcurse -a | grep \* | sed 's/*/[\0]/')
   5 
   6 [[ $next ]] && echo  $next
[raw]