help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making copies of files


From: michael-franzese
Subject: Re: Making copies of files
Date: Thu, 1 Apr 2021 03:04:08 +0200

Thank you Lawrence

> Sent: Thursday, April 01, 2021 at 12:54 PM
> From: "Lawrence Velázquez" <vq@larryv.me>
> To: michael-franzese@gmx.com
> Cc: help-bash@gnu.org
> Subject: Re: Making copies of files
>
> On Wed, Mar 31, 2021, at 8:41 PM, michael-franzese@gmx.com wrote:
> > I somehow need a way to search for a period ot end of line and have thought
> > about the following:
> > 
> > sed 's/\.$/\.\n/g' textfile > textfile2
> 
> Not all sed implementations recognize '\n'.
> 
> sed 's/\.$/.\
> /' textfile > textfile2
> 
> -- 
> vq
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]