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 ''
)none. you dont need a DE, you can just run a tiling wm and some terminals…
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 dont think they’ve lost touch, they’ve never been in touch. this behavior is apparently what produces the biggest profits for the next quarter, so they’ll do it until they drive the platform into the ground, then just start another one and repeat
it took less than a day for someone to break run0 totally open, so basically, you have a choice between a well tested/debugged sudo and this new thing which may eventually mature
i have bad news: bash is already a massively improved/extended ksh clone. ksh was a massively improved/extended sh clone. sh got a ton of improvements early on.
this is about as good as you can get without breaking compatibility completely (bash already breaks compatibility with posix sh in some ways).
anyway, once you’ve figured out the hermetic incantations required to work with filenames with whitespace in them, it’ll be time to write scripts that can handle filenames with newlines in them :D
yeah, i’ll think about it when notion runs on it
^S - stop terminal IO
^Q - resume terminal IO (if your terminal looks frozen, this is the one to try)
alt-b, alt-f - jump back/forward one word
it sanctions other CPUs and strong arms them into giving up their cycles
win98 was really really awful.
forgot to compile devfs into my new kernel…
wat? it’s a corporation, the hate is 100% warranted.
just because google’s eclipsed them to become the current worst thing ever, it doesnt mean MS isnt a blood sucking monster. if they were in the right position, they’d still be fucking us over.
i know it’s impossible to find a name for things that doesnt mean something funny/inappropriate in at least one language, but oh god. every time i see FOSS my inner kindergartener comes out to giggle.
xterm
respect the classics :)
yeah, consistency is way more important than whatever pet features people want.
also, bash slow? what? it’s an interactive shell, the vast majority of time will be spent waiting for my input. unless you mean when you write scripts in bash? but surely nobody would do that when there’s perl…
i’m afraid it’s M$ or MiKKKroSSoft. your choice.