[ubuntu-us-mn] grep for carriage returns?
Colin Harrington
colin.harrington at gmail.com
Thu Mar 6 18:21:37 UTC 2014
How about grep?
grep -r $'\r' *
\r is an escaped the carriage return (CR) character where as \n is the
newline/linefeed (LF) character
http://superuser.com/questions/194668/grep-to-find-files-that-contain-m-windows-carriage-return
Colin Harrington
colin.harrington at gmail.com
On Thu, Mar 6, 2014 at 12:13 PM, Fred H Olson <fholson at cohousing.org> wrote:
> Is there a way to get grep or a similar tool to scan text files
> for carriage returns ( $0d) ? I could not find a way.
>
> Fred
>
> --
> Fred H. Olson Minneapolis,MN 55411 USA (near north Mpls)
> Email: fholson at cohousing.org 612-588-9532
> My Link Pg: http://fholson.cohousing.org My org:
> Communications for Justice -- Free, superior listserv's w/o ads
>
>
> --
> ubuntu-us-mn mailing list
> ubuntu-us-mn at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-us-mn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-us-mn/attachments/20140306/e336e22e/attachment.html>
More information about the ubuntu-us-mn
mailing list