logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

delcr - remove a CR before each LF

Compatibility

       Some  vendors  ship  dos2unix or dos2bsd tools similar to delcr.  Those tools often blow up on long lines
       and nulls.  delcr has no trouble with long lines and nulls.

Description

delcr removes a CR at the end of each line of input, if a CR is present.  It also removes a CR at the end
       of a partial final line.

       The pipeline

            addcr | delcr

       prints an exact copy of its input.

Name

       delcr - remove a CR before each LF

See Also

addcr(1)

                                                                                                        delcr(1)

Synopsis

delcr

See Also