i am an unrequited astronomer, pretend patient, gentle adventurer, pedal enthusiast, recovering calligrapher, occasional thespian and unfinished poet living in portland, oregon. contacting me via email is usually a good idea.
11:31 AM:
[#]
[0]
bah. apple's safari won't work w/ o'reilly's safari bookshelf. :( it keeps asking me to log in and then tells me, "Sorry, you have NaN slot(s) available on your bookshelf." nan? isn't that a kind of indian bread? grrr.
brian, my handy geek & pet rocket scientist, says, "NaN is short for "not a number." It's usually generated...when some piece of code tries to divide by zero." which explains a lot, because now that i've used explorer to add an item to my bookshelf, safari shows me as having 0 items in my library, which looks to me to believe it might be an n-1 issue. i've submitted a big report.
anyway, i was trying to figure out how to make tr turn \n to \n\n from a piped file (access_log, if you must know). is that possible? all possible permutations of [pipedinput] | tr "\n" "\n\n" are failing (yes, i've tried octal codes. yes, i've tried brackets. yes, i've tried single quotes.) at best, i get it to come out exactly the same. can you replace string 1 with more than one character? no matter what, it seems to only replace it with the first character of string 2. am i going to have to use sed? this should be a ridiculously easy thing.