Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Sep 2017 20:15:31 -0400
From:      Ernie Luzar <luzar722@gmail.com>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   script code  for end-line
Message-ID:  <59B332A3.1000205@gmail.com>

next in thread | raw e-mail | index | archive | help

I have a file that has blank lines with ^M in position one.

I have this  if [ "$end-line" = "^M"]; then


Is that the correct way to code that between the quotes?




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59B332A3.1000205>