• Home
  • About

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
By using Twitter’s services you agree to our Cookie Use and Data Transfer outside the EU. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.
thatcks's profile
Chris Siebenmann
Chris Siebenmann
Chris Siebenmann
@thatcks

Chris Siebenmann

@thatcks

That cks. Overcommitted sysadmin, photographer, bicyclist, and other multitudes. I write a lot of words for a programmer.

Joined December 2011
  • © 2016 Twitter
  • About
  • Help
  • Terms
  • Privacy
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @

Retweet this to your followers?

Optional comment for Retweet
 
 

Saved searches

  • Remove
  • Verified account @
Suggested users
  • Verified account @
  • Verified account @
140

Are you sure you want to delete this Tweet?

Promote this Tweet

Block

  • Add a location to your Tweets

    When you tweet with a location, Twitter stores that location. You can switch location on/off before each Tweet and always have the option to delete your location history. Learn more

    Profile summary

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Your reply includes the people in this conversation up to this point. Learn more

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    Preview

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Buy Now

    Hmm... Something went wrong. Please try again.

    Previous Tweet
    Chris Siebenmann ‏@thatcks 2 Jul 2014

    Oh Bash 4.3.11, you're funny: $ mkdir /tmp/a; cd /tmp/a; touch b $ export LANG=en_US.UTF-8 $ echo *[A-Z]* b WHAT THE HELL? (Ubuntu 14.04)

    • Retweets 5
    • Like 1
    • Tyler Longren ɯıɹɹıʍʇ (((Nahum Shalman))) Sam Russell Perry Lorier Saint Aardvark
    1:59 PM - 2 Jul 2014
    5 retweets 1 like
      1. Chris Siebenmann ‏@thatcks 2 Jul 2014

        The Bash glob matching issue is getting stranger and crazier the more I look at it. This is going to take a techblog entry.

        1 retweet 0 likes
      2. rone ‏@rone 2 Jul 2014

        @thatcks what if you export LC_COLLATE=C?

        0 retweets 0 likes
      3. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @rone That makes things work, but now every script needs that at the start just to make sure Bash is not screwing it over.

        0 retweets 0 likes
      4. rone ‏@rone 2 Jul 2014

        @thatcks i'm not sure if it's a bash thing or a locale thing. all i know is that i hate it.

        0 retweets 0 likes
      5. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @rone It's a Bash thing. Other shells, eg Dash, don't behave this way even in en_US.UTF-8.

        0 retweets 0 likes
      6. rone ‏@rone 2 Jul 2014

        @thatcks well shit, is there an open bug on this? god this is stupid

        0 retweets 0 likes
      7. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @rone No idea, haven't looked. I assume it's deliberate choice on Bash's part and filing a bug would just result in being flamed.

        0 retweets 0 likes
      1. Alan Coopersmith ‏@alanc 2 Jul 2014 Newark, CA

        @thatcks that's the en_US locale for you. [A-Z] expands to AaBbCc...Z, you need C locale to get just uppercase from [A-Z].

        2 retweets 0 likes
      2. View other replies
      3. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @alanc That is destructively crazy on Bash's part (and doesn't match other shells). It's going to make me abandon shell scripting entirely.

        0 retweets 0 likes
      4. Alan Coopersmith ‏@alanc 2 Jul 2014 Newark, CA

        @thatcks I thought it was common across most shells, is also why upper & lower case sort differently in ls output in C vs. en_US locale.

        0 retweets 0 likes
      5. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @alanc Sort order isn't the same as matching [A-Z]. None of dash, zsh, mksh, or ksh do this (Ubuntu 14.04 versions for all).

        0 retweets 0 likes
      6. Alan Coopersmith ‏@alanc 2 Jul 2014 Newark, CA

        @thatcks oh hmm, I guess it's regexp's I'm thinking of having this well-known behavior in programs like tr, not shell globs

        0 retweets 0 likes
      1. Christian Neukirchen ‏@chneukirchen 2 Jul 2014

        @thatcks and that's why I run LC_COLLATE=C.

        0 retweets 0 likes
      2. View other replies
      3. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @chneukirchen Sadly this was a more or less stock root environment, instead of my carefully non-broken one. But things will have to be done.

        0 retweets 0 likes
      1. Jon Jensen ‏@jonjensen0 2 Jul 2014

        @thatcks Unicode English collation isn't case-sensitive?

        0 retweets 0 likes
      2. Chris Siebenmann ‏@thatcks 2 Jul 2014

        @jonjensen0 Apparently not! This even happens on Ubuntu 12.04, I don't know why we didn't run into this before (with exploding scripts).

        0 retweets 0 likes

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2016 Twitter
      • About
      • Help
      • Terms
      • Privacy
      • Cookies
      • Ads info