Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #257203
| From | <tomas@tuxteam.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class |
| Date | 2023-04-15 09:40 +0200 |
| Message-ID | <GkIFP-29av-3@gated-at.bofh.it> (permalink) |
| References | (3 earlier) <GkhvX-1SzL-1@gated-at.bofh.it> <GkE9b-26fs-1@gated-at.bofh.it> <GkEsx-26AQ-1@gated-at.bofh.it> <GkGkF-27NT-1@gated-at.bofh.it> <GkHqp-28rd-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Sat, Apr 15, 2023 at 01:14:53PM +0700, Max Nikulin wrote: > On 15/04/2023 12:02, tomas@tuxteam.de wrote: > > On Fri, Apr 14, 2023 at 11:02:03PM -0400, Greg Wooledge wrote: > > > On Sat, Apr 15, 2023 at 09:44:03AM +0700, Max Nikulin wrote: > > > > As to [^c] vs. [!c], unfortunately the latter can not be always used as > > > > portable variant. It is treated as history expansion in the case of > > > > interactive bash session. > > > > > > Ugh. That abomination. I've had history expansion disabled for *years*. > > > > You have to escape it with a backslash. Quoting with single quotes also > > helps, although I don't know whether that is portable itself. > > The problem is to prevent history expansion while keeping pattern matching > (glob) active. > > du -ks -- .[!.]* | sort -n | tail I see, thanks Cheers -- t
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Bookworm: dash shell globs don't recognise [^...] to negate a character class David <bouncingcats@gmail.com> - 2023-04-13 02:20 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Jude DaShiell <jdashiel@panix.com> - 2023-04-13 02:30 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Jude DaShiell <jdashiel@panix.com> - 2023-04-13 02:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-13 03:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Vincent Lefevre <vincent@vinc17.net> - 2023-04-13 17:00 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-14 04:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-14 04:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class rhkramer@gmail.com - 2023-04-14 18:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-14 19:00 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class David Wright <deblis@lionunicorn.co.uk> - 2023-04-15 00:30 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-15 04:50 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-15 05:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class <tomas@tuxteam.de> - 2023-04-15 07:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-15 08:20 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class <tomas@tuxteam.de> - 2023-04-15 09:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class davidson <davidson@freevolt.org> - 2023-04-15 13:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-15 14:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-16 06:10 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Vincent Lefevre <vincent@vinc17.net> - 2023-04-18 16:30 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Greg Wooledge <greg@wooledge.org> - 2023-04-18 16:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-19 12:40 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class davidson <davidson@freevolt.org> - 2023-04-19 22:20 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class davidson <davidson@freevolt.org> - 2023-04-19 22:30 +0200
Re: Bookworm: dash shell globs don't recognise [^...] to negate a character class Max Nikulin <manikulin@gmail.com> - 2023-04-21 09:10 +0200
csiph-web