On 25/09/28 08:51PM, Tim Chase via Remind-fans wrote:
> On 2025-09-28 21:05, Remind list wrote:
> > On Sun, 28 Sep 2025 19:53:41 -0500
> > Tim Chase via Remind-fans <[email protected]> wrote:
> > 
> > > Tangentially, is there a way to suppress the blank rows in -c format?
> > 
> > You bet:
> > 
> >     rem -c -w,0,0
> > 
> > You might still get a blank line if every day of a given week has
> > multiple reminders that happen to line up, but this removes the padding
> > between the day number and the first reminder, and the last number and
> > the bottom line of the calendar box.
> 
> It gets pretty close, but still seems to have one padding line on a
> blank calendar:
> 
>  bash$ wc -c < ~/.reminders  # using an empty .reminders file to test
>       0
>  bash$ diff -u <(rem -c -w,0,0) <(rem -c | grep '[a-zA-Z0-9-]')
> 
> shows that the -w,0,0 version has one extra empty line in each week.
> 
> But definitely enough to make it more compact when I'm testing. Thanks!
> 
> -tim
> -- 
> 
Could you just pipe your output through sed, or am I missing
something? 

sed '/^\s*$/d'
> 
> _______________________________________________
> Remind-fans mailing list
> [email protected]
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/

-- 
When stupidity is considered patriotism, it is unsafe to be intelligent.

-Isaac Asimov
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to