delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/07/20/23:57:34

DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 46L3vXPn1898039
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=O1u/SwLE
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 01FA2385E457
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1721534252;
bh=yTi2UDafm5Se9IfVd+0xV43e/+BbGmCrq5fkY5wZz0I=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=O1u/SwLEDA7cmXzB8rkY66PK1zls/U1hsOWf+dieqJhdjSYSEmK89vLN3+NDjFdyb
tjKg/2FuMfFx4xiDzQLzedH21bOqA2eLHpDSn9n9XDsQ7tJjf8x7lLLK6wRiXlyhr3
lbJSjA2UkKFw6hkZndOdwhf8yKKSmldh/whDORsA=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E8E2A385DDC5
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E8E2A385DDC5
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1721534231; cv=none;
b=lmcF1fIBcK+yDxGib2X7ckraORXswUVc3BEl3mYO1Y+oOcQn/SLnFLYw2n1rXY0zMxROhSwIWBnaI/JBDEQLtOc1vKRufS61mBLS8bbrCBNgorRDKTZcwsY0UhMls98iaHudB/yO9lEab6mIgF6pI6T/hr5nUKiDh/OhCBheBE8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1721534231; c=relaxed/simple;
bh=CLIww45mhn1/G1PLyikEelhQRWZPSb9PoSVzsUkUC6M=;
h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From;
b=PbwwVL2IxGWlytv4nTSl0s4m4l8BGPt5oSr2GAvpxNgxN+oEObWp7/VBH+cDmQ9vN5l4qjtPRFsfnJppEuTNtHSN57Vy4/FQU0QAXi1Nu57j+jUYzMWUg6g4Y+/wq1DNCvrULOV4CYgtQmFhbyxd/ZjrSF3wy/TLAe79VcL6R7w=
ARC-Authentication-Results: i=1; server2.sourceware.org
X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6
Message-ID: <9fdc2e3d-6cc8-489a-af54-142c1809c5ad@towo.net>
Date: Sun, 21 Jul 2024 05:57:10 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Parse output of "net use", but language varies - force language
for "net use"?
To: cygwin AT cygwin DOT com
References: <CAN0SSYzW_im0Fgucbsqk6u=Cu1suSmvhJbskH8doV98mMOTtUg AT mail DOT gmail DOT com>
<20240721085457 DOT 9cf5591d8f990352a277347b AT nifty DOT ne DOT jp>
Autocrypt: addr=towo AT towo DOT net; keydata=
xsDNBGNaf3QBDACVevqudcTSevLThXKQPU1QpaDxtGuYjtwmr7i9wXxVGih4Y4oxOJN4PYlu
KBX9IVAI4651dA+xYtXuyIkWOPZWyyzkGKavQOn3Q7dk09oj7bh2IwOndpxXXde337D408EQ
bQEGbMHr9lOWhSAideowzgCeFIvGTf2AovbPh97HpexJn1/HCRiRAhTNlrkS1DByUgCAeEMK
fEr6aGM/Ou29MT+eTnQwOIZTnl9Z9LxM2FtqqMH3MycC7I2OoW3XXhuL8BPQdyJUjWa0/J11
Oo5jFkRXtWenIns6jGn18oW72jnDmo9jXwwS+iZWAV6Y51nhD7jSC+3xs9ORmPCdtHUSpTr1
zh67UueUJ3DUUNVuA25Hn/9EJMJ2L60BGUEr88NEB6pcZhmcwdkurAQeYT6t+frzBz2ctsoN
BoxP/Xc02yd+z7hXWRRMrJWh9WHlQHA3Z4FfmyNhyPhs3MgKTJ1E9QfzG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U=;ffnU7msu6tApNeHHZfboL0zYANb
iOKB7YVg6pI4jrOnqvaYRBBPIcNUQjUPPa88kYopu6r+UocXZTeJjnENStYfSqzYVNkf98FrA
SGNuP9yDz/pb1TjIXK6Uk1iduiJszDGlimUxTPc8zEp+mUCGTQcHSgL5jf5yzEoLYIhf7yRKK
Niv33Uu9GhcM1amNzr9KMUtpRB7Q61PbOujI4glS1HfbNbQpDniEpXhrvAPcML8dz1rqDuMLH
/Q1gtDkzG/ULLXK9wBQFhjmd/wWowN1oz0o5faA2yuatVuFCZSY3T1HHrJuxmbRZjI24heJD2
xsTjgYkav/Wqc8Nrkid1+Xo/e4zJHYg/9spkLohhGcF8lLZd7A/kwAuaq/ctBGvPY5ITXhNMA
3cScjvN2nITHWhhv21/ILDeoLSuO5gCxUeKJkq+RSCFKxTT6ViBIaOjLfCmZV2nWpMCA/rSNj
ePoW1GfY8YhAkFWAxibxyRQ9zYnohmVm3XE3woiTvhuo3x48BTqM8aYvd90FiMJnsoVekgQae
ANnwaeOznhaEslSYWojo2ZqjQHj5aMqZExxyZlPwEof6LT4bN1vKMhMmxfgjN7Ie0g7gWrzJu
Ip8vwuG+/X8ZRchD7HFEcfLAnAL3x1dd387xqxjJ6O8fe1AVYKw+Th0NId8/hWlA99q/z+wYp
gT4LtPqkJLJYgPwUrcdNkvMQdM1dZ1He8uoDx0EoOeb01b2iemn69eIaMz/7E5b+NHWUW0fDE
Wh5Edmp5rL8QAaDkyXcLbADfRle3XCaNw==
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, RCVD_IN_DNSWL_NONE,
RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Thomas Wolff via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Thomas Wolff <towo AT towo DOT net>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>


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, ...), so parsing becomes nearly impossible
>>
>> How can I force the language used by "net use" to English, even if the
>> system default language is Danish or French?
> Did you try
> chcp.com 437
That could change the character encoding, for some (older) programs, not
the language.
> or something like that?

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019