Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Takashi Yano via Cygwin
On Sun, 21 Jul 2024 05:57:10 +0200 Thomas Wolff wrote: > Am 21.07.2024 um 01:54 schrieb Takashi Yano via Cygwin: > > On Sat, 20 Jul 2024 15:44:17 +0200 > > Mark Liam Brown wrote: > >> I am trying to parse the output of "net use" in a bash script, but hit > >> a roadblock: > >> The output of "net us

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Thomas Wolff via Cygwin
Am 21.07.2024 um 01:54 schrieb Takashi Yano via Cygwin: On Sat, 20 Jul 2024 15:44:17 +0200 Mark Liam Brown wrote: I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the language of the system (English, Danish, French, ...),

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Takashi Yano via Cygwin
On Sat, 20 Jul 2024 15:44:17 +0200 Mark Liam Brown wrote: > I am trying to parse the output of "net use" in a bash script, but hit > a roadblock: > The output of "net use" changes with the language of the system > (English, Danish, French, ...), so parsing becomes nearly impossible > > How can I f

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread gs-cygwin.com--- via Cygwin
On Sat, Jul 20, 2024 at 04:56:56PM +0200, Mark Liam Brown via Cygwin wrote: > On Sat, Jul 20, 2024 at 4:31 PM Bill Stewart via Cygwin > wrote: > > > > On Sat, Jul 20, 2024 at 7:45 AM Mark Liam Brown via Cygwin wrote: > > > > I am trying to parse the output of "net use" in a bash script, but hit >

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Brian Inglis via Cygwin
On 2024-07-20 08:56, Mark Liam Brown via Cygwin wrote: On Sat, Jul 20, 2024 at 4:31 PM Bill Stewart via Cygwin wrote: On Sat, Jul 20, 2024 at 7:45 AM Mark Liam Brown via Cygwin wrote: I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use"

Re: CYGPORT not setting CMAKE_SYSTEM_PROCESSOR when cross compiling with aarch64-w64-mingw32.

2024-07-20 Thread Jon Turney via Cygwin
On 19/07/2024 09:08, Carlo B. via Cygwin wrote: Hello, GCC development branch includes experimental support Windows on ARM64 (WOA), which will be officially released next year with version 15, at least according to latest news. So, I compiled it and I created a number of packages for CYGWIN incl

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Henry S. Thompson via Cygwin
Mark Liam Brown via Cygwin writes: > I am trying to parse the output of "net use" in a bash script, but > hit a roadblock: The output of "net use" changes with the language > of the system (English, Danish, French, ...), so parsing becomes > nearly impossible > > How can I force the language used

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Mark Liam Brown via Cygwin
On Sat, Jul 20, 2024 at 4:31 PM Bill Stewart via Cygwin wrote: > > On Sat, Jul 20, 2024 at 7:45 AM Mark Liam Brown via Cygwin wrote: > > I am trying to parse the output of "net use" in a bash script, but hit > > a roadblock: > > The output of "net use" changes with the language of the system > > (

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Bill Stewart via Cygwin
On Sat, Jul 20, 2024 at 7:45 AM Mark Liam Brown via Cygwin wrote: I am trying to parse the output of "net use" in a bash script, but hit > a roadblock: > The output of "net use" changes with the language of the system > (English, Danish, French, ...), so parsing becomes nearly impossible > > How c

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread marki via Cygwin
Yeah, maybe there is another way of doing what you want. But you don't describe what you want to do. You have come up with a solution to an unknown problem but it does not work. May be an instance of the xy problem. El 20 de julio de 2024 15:58:05 CEST, Eliot Moss via Cygwin escribió: >On 7/20

Re: Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Eliot Moss via Cygwin
On 7/20/2024 9:44 AM, Mark Liam Brown via Cygwin wrote: Greetings! I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the language of the system (English, Danish, French, ...), so parsing becomes nearly impossible How can I f

Parse output of "net use", but language varies - force language for "net use"?

2024-07-20 Thread Mark Liam Brown via Cygwin
Greetings! I am trying to parse the output of "net use" in a bash script, but hit a roadblock: The output of "net use" changes with the language of the system (English, Danish, French, ...), so parsing becomes nearly impossible How can I force the language used by "net use" to English, even if th