Deutsch English Français Italiano |
<jjck4fFmfkhU1@mid.individual.net> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Java Jive <java@evij.com.invalid> Newsgroups: alt.os.linux Subject: Re: bash function: return array Date: Sun, 20 Feb 2022 11:11:26 +0000 Organization: A noiseless patient Spider Lines: 36 Message-ID: <sut7kv$ak0$1@dont-email.me> References: <suqfkt$s78$1@gioia.aioe.org> <suruk8$apq$1@dont-email.me> <surven$v4g$1@dont-email.me> <sut500$1poh$1@gioia.aioe.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 20 Feb 2022 11:11:28 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="1e863f058feb5749ec0a3441ca0a78ff"; logging-data="10880"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+SH2t6cGApFK0tjqfB4TeVl3aZZGxbpXw=" User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Cancel-Lock: sha1:FtDWxznvx3a8Ogt4ws6IcRs0EzQ= In-Reply-To: <sut500$1poh$1@gioia.aioe.org> Content-Language: en-GB Bytes: 1961 On 20/02/2022 10:26, alex wrote: > > Il 20/02/22 00:44, Java Jive ha scritto: >> >> Sorry, think that might need to be ... >> >> echo 'a b' c | xargs ls Well, here's five methods that work in MingW32: $ ls 'a b' c ls: a b: No such file or directory ls: c: No such file or directory $ ls "a b" c ls: a b: No such file or directory ls: c: No such file or directory $ ls a\ b c ls: a b: No such file or directory ls: c: No such file or directory $ echo \"a b\" c | xargs ls ls: a b: No such file or directory ls: c: No such file or directory $ echo \'a b\' c | xargs ls ls: a b: No such file or directory ls: c: No such file or directory -- Fake news kills! I may be contacted via the contact address given on my website: www.macfh.co.uk