help-bash
[Top][All Lists]
Advanced

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

Re: Making copies of files


From: Lawrence Velázquez
Subject: Re: Making copies of files
Date: Wed, 31 Mar 2021 20:54:16 -0400
User-agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249

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]