2,718 reputation
1023
bio website None
location United States
age 52
visits member for 3 years, 10 months
seen yesterday
stats profile views 160
Long-time Informix user and developer, experienced in C and Unix (many variants). Email: jonathan.leffler@gmail.com

Jan
17
comment egrep: CPU and memory usage
Split the file into separate segments and run separate egrep commands against each segment? How big of a file are you processing? Are you not I/O bound anyway? What is the regex you're using?
Jan
13
comment cron and at are not working
@tekknolagi: For 'at', I note that man at includes: IMPLEMENTATION NOTES Note that at is implemented through the launchd(8) daemon periodically invoking atrun(8), which is disabled by default. See atrun(8) for information about enabling atrun. When I tried on my system, at queued the job OK, but the jobs did not run. That was when I really read the man page! (When I did what man atrun said, my previously queued at requests ran at the next minute boundary.)
Jan
13
comment cron and at are not working
For the format of crontab entries, try man 5 crontab.
Jan
13
answered cron and at are not working
Dec
15
comment How do I change the default prompt from “#” to “>”?
Note that it is conventional to keep a # in the prompt to remind you that you are playing with fire because you have root privileges and any mistakes can completely wreck the machine. You should always do as little as possible while running as root.
Nov
8
answered When to use the 'tail -f' command?
Nov
7
awarded  Notable Question
Sep
30
answered How to specify group with chmod?
Sep
8
answered How to print PDF to postscript in OSX?
Sep
6
comment How to Suppress Repetition of Warnings That an Application Was Downloaded From the Internet on Mac OS X?
FWIW: the article shows how to write an AppleScript script that will run "xattr -d com.apple.quarantine" on the newly downloaded item. It places the script with the appropriate name in the appropriate location so that the unquarantine operation happens 'automatically'. The article (tagged 10.5 only, but meaning 10.5 or later) is still there today.
Aug
27
answered executing unix code from the terminal
Aug
17
comment How to recover file from 'hidden' directory with Time Machine?
I've now got 8.5.3.CD5 (an internal pre-release). It is working for me once more (on both MacOS X 10.7 this morning and 10.7.1 this afternoon). I tried an 8.5.2 version and it had troubles. It might easily have been the problem diagnosed in the tech note you reference, though; the description sounds plausible. Thanks for the information; it strongly indicates I was running into a real problem, not something I'd created for myself (other than by upgrading to Lion).
Aug
14
comment How to recover file from 'hidden' directory with Time Machine?
I managed to recover the backup file, and it made no difference to the misbehaviour of Notes. So, I've probably got some problem with Java (again) on MacOS X Lion. But I am not sure what changed between the date when it worked and the date when it didn't.
Aug
12
accepted How to recover file from 'hidden' directory with Time Machine?
Aug
12
comment How to recover file from 'hidden' directory with Time Machine?
@Bill: your last question shows why the fragmentation of the sites was a disaster -- there isn't a single place to look for the answers to questions, thus making it much, much harder to work out where to look. I've not been to the Apple site before - that's apple.stackexchange.com, I suppose?
Aug
12
comment How to recover file from 'hidden' directory with Time Machine?
I like the 'back to blissful ignorance' part of this! I suspect that 'defaults delete com.apple.finder AppleShowAllFiles' might be better than setting it to 'NO' given that the flag is not set at all locally before I started on the changes.
Aug
12
comment How to recover file from 'hidden' directory with Time Machine?
@Bill: possibly not - I debated, and decided to ask where there are the most eyes. I go to SU maybe once a month, if I'm feeling diligent.
Aug
12
asked How to recover file from 'hidden' directory with Time Machine?
Jul
26
comment When copying folders with sudo it copies just the first level of folder's hierarchy
+1: Or you could try 'sudo chown -R me /c/d'.
Jul
22
awarded  Yearling