I have the code below and I want it to wrap in the shell borders without breaking words. Automatically would be best, but I can set it to a certain character width manually if necessary.

/usr/local/bin/icalBuddy -n -sc -b "-- " -eep "notes,location" eventsToday

I found this somewhere:

"'fold -s -w 50' wraps the lines after 50 characters without cutting up words"

but have no idea how to pop it in the above script.

Any help would be appreciated. Thanks.