On 2019-04-29 00:55 +0000, Guo, Yejun wrote:
[...]
> > Wild guess: CR LF line endings are emitted somewhere and the CRs stay in
> > the input. Your terminal resets the cursor to the start of the line when
> > interpreting the midline CRs.
> >
> > Does it work if you extend the tr in print_in_columns like below?
> >
> >      sort | tr '\r\n' '  ' | awk -v width="$ncols" '
> >
>
> yes, it works!
>
> >
> > > I did a quick check, but has not found the root cause yet.
> > >
> > >
> > > >
> > > > I'm not against the shell way, or a mixed approach, but before going
> > > > either way and pushing I would rather have some more testing;
> > > > especially on more exotic platforms.
> >
> > Thanks for testing and looking into it!

New patchset sent with subject:

    [PATCH 0/2] configure: Replace pr with awk and fix column sorting


Your last version (v5) of the log_file rewrite performs better, so maybe
we should use it instead of my awk version, which is at best as fast
as current version (depends on the awk implementation).

  Alexander
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to