i’m afraid it’s M$ or MiKKKroSSoft. your choice.
i’m afraid it’s M$ or MiKKKroSSoft. your choice.
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)
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
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:
''
quoting, which lets you put ’ (single quote) inside ’ (single quote) without going mad: alias cica=$'foo \'$bar\' baz'
alias cica='foo '\''$bar'\'' baz'
(this is the old way, without bash’s ''
)IIRC microsoft got got about this in the ie6 days or so, looks like they found their way back to their old behavior
what are you on about, there aint no bourgeoisie on the sun…
it’s the fastest way to get crews for your navy
none. you dont need a DE, you can just run a tiling wm and some terminals…
yes, but old people can get over that and just stop giving a fuck and accept that they’re weird now. it must be liberating.
oh yes it made the noise.
are you using ntfs-3g or the older shittier ntfs driver?
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.
what do you mean the output doesnt keep the LF? what LF?
ps also has -u and -U switches to filter by users
vidir
is similar
there’s also rename
(the perl one, not the shit one). i have fond memories of renaming albums with rename 's/(\d+)/sprintf "%02d", $1/e'
so they’d ls in the correct order
i rely on this in my job. if i really need it, i’ll be using it often enough that it’ll always be in ^R distance :)
mmmmmm <3
no, tmux is a newer screen. some of us havent switched cos we’re too lazy i guess? i think the common wisdom is that it’s better. i havent tried cos i already know enough of screen and it’s fine for me
atools
, which includes als
, aunpack
, apack
. so you can stop caring about the kind of archive and just unpack it. it also saves you from shit archives that have multiple files/dirs in their root.perl -e
/ perl -lne
/ …units
bc
- a calculator that’s actually goodpass
- the only non-shit password store tool i’ve found so far. no gui, uses gpg and git to do the encrypting and storage/sharingalias lr='ls -lrth'
- so you can easily find the newest file, cos that’s frequently what you wantunip
- my script to look up things in the unicode dbfind -type f -exec xzgrep 're' {} +
- because xzgrep cant do -roh yeah, and for the shell readline, alt-b, alt-f, ctrl-w, ctrl-u, ctrl-k, ctrl-a, ctrl-e
as seen in terry pratchett’s last continent (i think that’s the one with the god of evolution)