@atoponce Why /*? You'll be leaving hidden files in /. Going to such lengths as to pull out --no-preserve-root and leaving hidden files in / intact is beyond my understanding. 

#shell #Unix #globbing

Can any #globbing experts give me a more aesthetic alternative for this?

h="[0-9a-f]" cd $h$h$h$h$h$h$h${h}_$h$h$h${h}_$h$h$h${h}_$h$h$h${h}_$h$h$h$h$h$h$h$h$h$h$h$h || ( echo oops; exit 99 )

Example: 27a81c6a_06f2_4a0b_82a3_5eeee7ef91e8

@mirabilos? ;)

Linux-Terminal-Basics 14: Regex und Globbing | Tutonaut.de

Reguläre Ausdrücke und Shell Globbing - beide super nützlich und bisweilen zum Verwechseln ähnlich. Basics und Unterschiede.

Tutonaut.de

Totally unbiased poll time...you write the following in a config file in a Unixy environment:

include subdir/*

Assuming this config language supports modular configs via including other config files in this manner, should dotfiles be included?

#poll #configuration #unix #linux #globbing

subdir/.somefile SHOULD be included
26.3%
subdir/.somefile SHOULD NOT be included
36.8%
Unsure/Depends
26.3%
Spiderman
10.5%
Poll ended at .
Հաքերները հրապարակել են Globbing-ի 256,000 հաճախորդների բազան՝ այն ուղարկելով հայաստանյան լրատվամիջոցներին. Արթուր Պապյան

Տեսնելով, որ խոցելիությունը դեռևս չի շտկվում, իսկ իրենց շարունակում են անտեսել, որոշել են հրապարակել Globbing-ի հաճախորդների բազան՝ այն ուղարկելով հայաստանյան լրատվամիջոցներին...

@woozle @woozle And those are well known and many.

The first line of the Bash manpage "BUGS" section acknowledges this: "It's too big and too slow."

The manpage itself is over 110 pages (via 'pr'), which is ... large.

Globbing is not a bash-specific feature but was introduced with earlier shells -- actually originally an external utility for the original Thompson shell:

https://unix.stackexchange.com/questions/136353/history-of-bash-globbing/136409

#bash #linux #unix #history #globbing #scripting

2/

History of Bash globbing

Is there a historical reason why Bash "globbing" and regular expressions are not identical? For example, I believe that in Bash [1-2]* matches anything that starts with a 1 or a 2 followed by anyth...