Re: [SLUG] sed question

From: Andrew Barber (tuorum@yahoo.com)
Date: Fri Jun 10 2005 - 16:19:15 EDT


There may be other characters after the =. Use od or
xxd to view the hex output and see. Maybe it was
created on a windows box and transfered to a Unix
system in binary mode (via ftp with bin, or sftp).
These will show up in cat -v as ^M.

Andrew Barber

--- Alex Harris <nccuss17@gmail.com> wrote:

> How do I have sed remove the equal sign at the END
> of a line?
>
> I've tried sed 's/=$//' and the equal signs are
> still there.
>
>
-----------------------------------------------------------------------
> This list is provided as an unmoderated internet
> service by Networked
> Knowledge Systems (NKS). Views and opinions
> expressed in messages
> posted are those of the author and do not
> necessarily reflect the
> official policy or position of NKS or any of its
> employees.
>
-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 20:03:28 EDT