zgrep . *
should do the trick
oh, there’s also zcat -f *
zgrep . *
should do the trick
oh, there’s also zcat -f *
i’m afraid it’s M$ or MiKKKroSSoft. your choice.
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?
what do you mean the output doesnt keep the LF? what LF?
ps also has -u and -U switches to filter by users
in that case, i’d prefer a
~/bin/zcat
with the contents#!/bin/sh exec gzip -cdf "$@"
this way, it’s exec’able, unlike an alias or shell function.