I’m sure some of you have absolute monstrosities of sigils (I know I do, in my .zshrc alone). Post them without context, and try and guess what other users’s lines are. If you want to provide context or guess, use the markdown editor to spoiler-tag your guesses and explanations!

  • Gamma@programming.devOPM
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago
    Corrections

    ascending order

    O is descending order. o is ascending order. In particular (Oa) keeps the array order, but flips it.

    The @ symbol is used to indicate the array vriable argv.

    Not here. As a PE flag, @ puts array elements in separate words, even if the parameter is enclosed in quotes.

    The #MATCH gives the codepoint of the (first) character in $MATCH. The (#) flag turns codepoints into characters.

    Full context

    This is in a joke function called ], which is like [ but you have to specify the elements in reverse order and end it with a [. This uses bit-fiddling to swap [ and ] in the last parameter because I’m a masochist.