111 reputation
5
bio website michael-brown.net
location Lisbon, Portugal
age 45
visits member for 3 years, 2 months
seen Jul 23 at 17:50

iOS Developer.


Jul
17
awarded  Popular Question
Apr
8
comment Using find with -exec gzip and grep
I specified that I was running on AIX in the original post. However, the question of gzip or zcat is not that relevant. I'm more curious as to why in your 2nd solution the {} substitution does not happen, especially as the \+ find syntax cannot be applied to all such similar situations.
Apr
8
comment Using find with -exec gzip and grep
The first option works if I use gzip -dc but not with zcat, which gives a foo.log.zip.Z: No such file or directory error. The second option I'd already tried, and doesn't work as the {} substitution doesn't work. If I use gzip it gives a {}.gz: No such file or directory for each file. For zcat: {}.Z: No such file or directory.
Apr
8
comment Using find with -exec gzip and grep
btw, I've managed to get the result I wanted by putting the -exec commands in a separate script and then using -exec script {} \; But I'd still like to know why the above doesn't work and if it's possible to do what I want without creating an intermediate script.
Apr
8
asked Using find with -exec gzip and grep
Dec
21
awarded  Supporter
Jul
11
awarded  Student
Feb
23
awarded  Tumbleweed
Feb
16
asked Is there any way to force Safari to use a different UserAgent on a per site basis?
Oct
20
comment OS X Lion - Installing Oracle 10g Standard Edition
you'll get past the .bash_profile issue, but the "Segmentation Fault: 11" error is a showstopper that no one has managed to solve AFAIK. I've resorted to running Oracle in a Linux virtual machine on my Mac and it seems to work well.
Oct
12
answered OS X Lion - Installing Oracle 10g Standard Edition
Oct
12
awarded  Autobiographer