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 $''
)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.
god, the original job creator.
are you using ntfs-3g or the older shittier ntfs driver?
makes sense, since we're on youtube for the ads
what do you mean the output doesnt keep the LF? what LF?
ps also has -u and -U switches to filter by users
i'm afraid it's M$ or MiKKKroSSoft. your choice.