Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <usdk6k$so1$1@tncsrv09.home.tnetconsulting.net>
Deutsch   English   Français   Italiano  
<usdk6k$so1$1@tncsrv09.home.tnetconsulting.net>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!3.us.feeder.erje.net!feeder.erje.net!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!tncsrv09.home.tnetconsulting.net!.POSTED.omega.home.tnetconsulting.net!not-for-mail
From: Grant Taylor <gtaylor@tnetconsulting.net>
Newsgroups: comp.unix.shell
Subject: Re: "sed" question
Date: Thu, 7 Mar 2024 17:56:04 -0600
Organization: TNet Consulting
Message-ID: <usdk6k$so1$1@tncsrv09.home.tnetconsulting.net>
References: <us9vka$fepq$1@dont-email.me> <usa01v$fj5h$1@dont-email.me>
 <usagql$j9bc$1@dont-email.me> <usb5jv$4qa$3@tncsrv09.home.tnetconsulting.net>
 <usb6pa$ncok$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 7 Mar 2024 23:56:04 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="omega.home.tnetconsulting.net:198.18.1.140";
	logging-data="29441"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <usb6pa$ncok$1@dont-email.me>
Bytes: 1931
Lines: 23

On 3/6/24 19:54, Janis Papanagnou wrote:
> You see that there's then (per default) only single delimiting spaces 
> left.

I think I see what you're saying.  I also feel like I must be missing 
something obvious, because what you're describing is what I would expect 
awk to do.

> You can change that by delimiter OFS, e.g. OFS="\t" would place TABs 
> in between (but would not preserve the original spacing).

I've dabbled with OFS, and IFS, a few times as needed.  But most of the 
time I don't need to.

> If you'd want to retain the previous spaces it would require some other 
> (not so trivial) handling.

I can't think of a use case where I would want that and choose to use 
awk.  --  I'm sure such use cases exist, I'm just ignorant of them.



-- 
Grant. . . .