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
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…
but without traditions, we’re just drifting aimlessly through life
it’s the fastest way to get crews for your navy
no dear, that’s the palestinians. the ukrainians will be mostly fine once this war is finally over.
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.
apple is such a weirdo fucking company. just weird little gremlins scuttling about.
we do a little trolling…
oh yes it made the noise.
so you’re abolishing the absurdly antidemocratic joke of the house of lords?
oh. oh you’re keeping the life peers, arent you? the ones that got their seat by open blatant corruption? those?
joke of a country.
edit: to make it clear, they’ve got 804 cancerous shitbags sitting in the lords. of that, 24 are some kind of religious leaders. 670 are life peers.
so they’re thinking of kicking out 110 people. 13% of these thieves. just 13%.
WHAT ABOUT THE REST
yes, that’s what i was going for. that they’re going to bulldoze our cities to make way for the child flattening machines. carbrain cannot be stopped.
are you using ntfs-3g or the older shittier ntfs driver?
makes sense, since we’re on youtube for the ads
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)