help-bash
[Top][All Lists]
Advanced

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

Re: how to preserve all spacings in the file content, when parsing throu


From: Lawrence Velázquez
Subject: Re: how to preserve all spacings in the file content, when parsing through it with while + read
Date: Fri, 07 Jun 2024 14:51:01 -0400
User-agent: Cyrus-JMAP/3.11.0-alpha0-497-g97f96844c-fm-20240526.001-g97f96844

On Fri, Jun 7, 2024, at 7:11 AM, Ante Bilandzic wrote:
> Thanks a lot, this does the job correctly!
>
> Cheers,
> Ante
>
>
>
>
>
> On Fri, Jun 7, 2024 at 12:43 PM alex xmb sw ratchev <fxmbsw7@gmail.com>
> wrote:
>
>> try IFS= read -r line

For more information:

https://mywiki.wooledge.org/BashFAQ/001
https://mywiki.wooledge.org/IFS

-- 
vq



reply via email to

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