huf

joined 3 years ago
[–] huf@hexbear.net 2 points 1 week ago

i'm afraid it's M$ or MiKKKroSSoft. your choice.

[–] huf@hexbear.net 7 points 1 week ago

they liked 90s russia, when it was weak, full of child prostitutes and people were dying en-masse from substance abuse (and the barn doors were wide open so they could loot it)

[–] huf@hexbear.net 2 points 1 week ago

i'd probably do

function cap() {
        prename 's/(^[a-z]?)/\U$1/' "$@"
}

it means it has to be invoked as cap *, but it also means that you can do cap foo* or whatever

[–] huf@hexbear.net 3 points 1 week ago

when you create the alias, the shell substitutes the $1 (to nothing, probably) since your alias is in "" (double quotes).
now, if you swap the single and double quotes, then the substitution still happens, but at invocation time instead of at definition time.
you actually want perl to deal with this $1, so neither is good.

you have three options:

  • write a function instead, as has been suggested
  • use $'' quoting, which lets you put ' (single quote) inside ' (single quote) without going mad: alias cica=$'foo \'$bar\' baz'
  • go insane and do this: alias cica='foo '\''$bar'\'' baz' (this is the old way, without bash's $'')
[–] huf@hexbear.net 4 points 1 week ago

IIRC microsoft got got about this in the ie6 days or so, looks like they found their way back to their old behavior

[–] huf@hexbear.net 2 points 3 weeks ago (3 children)

none. you dont need a DE, you can just run a tiling wm and some terminals...

[–] huf@hexbear.net 1 points 1 month ago

are you using ntfs-3g or the older shittier ntfs driver?

[–] huf@hexbear.net 14 points 1 month ago

nah, we still have winter. i know this because it still gets dark.

we'll still have four seasons: summer, hellfire, second summer, moist dark.

[–] huf@hexbear.net 3 points 1 month ago

what do you mean the output doesnt keep the LF? what LF?

ps also has -u and -U switches to filter by users

[–] huf@hexbear.net 4 points 2 months ago

i used to recommend linux to people. but that also meant that i became their tech support person.

i no longer advise anyone to use anything. i just want them to not ask me to troubleshoot their stuff.

[–] huf@hexbear.net 7 points 3 months ago

look. imagine a place where the burger is not native. where the best burger you can hope for is... adequate.

imagine, if you will, a country shaped like a schnitzel.

in the twilight zone.

[–] huf@hexbear.net 1 points 4 months ago

nowhere near as good as their chinese duet

view more: next ›