Re: Grep Help.
I dealt with this a lot recently in another context. Your file is not corrupted. Some fields just contain end-of-line characters. For example, the notes' field in Joan Fink's record contains: Edward assistant[nl] 427-6119[nl] 562-0176 and the notes field in Aron Maure's record contains: Jeff Masone[nl] [nl] Jack Hirsch, came from ICAA, since Oct 08[nl] Where [nl] is a end-of-line [someone hit the return key while entering the data in the notes field. So, the data is exported just as it should be, in that what you're seeing is what's stored in the source. I can think of a few ways to clean this up, but I'd like to know more about the data set. Does every line end with a http://foo.bar.baz;? chazl Chaz Larson - c...@jeck.com On Thu, Sep 9, 2010 at 9:21 AM, m i l e s magicmi...@gmail.com wrote: Hi. I have data from a OUTLOOK export that's been corrupted. It appears that Outlook is putting extraneous data from the NOTES field into the TITLE field of the export, which ends up column shifting the resulting records that follow the first record. Look at the sample data below: its column shifted the following: Low Normal Web Page Down to the next line, and anything in the notes field gets stuffed into the Title field, where there should be nothing at all. How would I fix this with Grep ? == Columns == Title First Name Middle Name Last Name Suffix Company Department Job Title Business Street Business Street 2 Business Street 3 Business City Business State Business Postal Code Business Country/Region Home Street Home Street 2 Home Street 3 Home City Home State Home Postal Code Home Country/Region Other Street Other Street 2 Other Street 3 Other City Other State Other Postal Code Other Country/Region Assistant's Phone Business Fax Business Phone Business Phone 2 Callback Car Phone Company Main Phone Home Fax Home Phone Home Phone 2 ISDN Mobile Phone Other Fax Other Phone Pager Primary Phone Radio Phone TTY/TDD Phone Telex Account Anniversary Assistant's Name Billing Information Birthday Business Address PO Box Categories Children Directory Server E-mail Address E-mail Type E-mail Display Name E-mail 2 Address E-mail 2 Type E-mail 2 Display Name E-mail 3 Address E-mail 3 Type E-mail 3 Display Name Gender Government ID Number Hobby Home Address PO Box Initials Internet Free Busy Keywords Language Location Manager's Name Mileage Notes Office Location Organizational ID Number Other Address PO Box Priority Private Profession Referred By Sensitivity Spouse User 1 User 2 User 3 User 4 Web Page === Sample Data === Joan Fink The Dance Center 135 Lexington Avenue New York NY 10128 212)415 - Amy K. - JF 0/0/00 0/0/00 jf...@x.org SMTP Unspecified Edward assistant 427-6119 562-0176 Low Normal http://www.x.org Maure Aron World Music/Crash Arts Executive Director 720 Lindist Avenue Los Angeles CA 90007 617/679. 617)876- 0/0/00 0/0/00 ma...@x.org SMTP Unspecified Jeff Masone Jack Hirsch, came from ICAA, since Oct 08 Low Normal http://www.xxx.org -- You received this message because you
Re: Insert Clipping doubles?
Anyone have any thoughts? On Sep 8, 2:39 pm, ryentzer ryent...@gmail.com wrote: Hi, when I type div (without the quotes) I get a list of available clippings to insert such as div, div class, div id. The problem is they are all doubled, yet somehow different. The first div will have the clipping icon to the left whereas the second will have a purplish square with a white left arrow that functions the same as the clipping version. Where is this coming from and how do I turn it off? I only want the clippings to auto-complete. Thanks, Rick -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: Insert Clipping doubles?
On 8 Sep 2010, at 19:39, ryentzer wrote: Hi, when I type div (without the quotes) I get a list of available clippings to insert such as div, div class, div id. The problem is they are all doubled, yet somehow different. The first div will have the clipping icon to the left whereas the second will have a purplish square with a white left arrow that functions the same as the clipping version. Where is this coming from and how do I turn it off? I only want the clippings to auto-complete 9.5 made the html completion internal, in effect replacing the clippings. -- A new install wouldn't have the issue you describe but the update won't delete your old clippings for you. Note though that you might want to keep a few clippings around for wrapping content with a clipping using a selection placeholder -- I use this for, say, div elements a lot. Regards, Carlton -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
EDITOR=bbeditFix.sh crontab -e still results in temp file must be edited in place
OS X 10.6.4 BBedit 9.5.1 can't seem to get bbedit to edit a crontab even after doing what man bbedit suggests ~/bbeditFix.sh #!/bin/sh bbedit -w $@ chmod 744 bbeditFix.sh .bash_profile EDITOR=~/bbeditFix.sh crontab -e #runs bbedit I make changes save from bbedit and shell puts up: crontab: temp file must be edited in place In BBedit prefs tried turning off Automatically refresh documents as they change on disk : this had no effect under Text Files make backup before saving is NOT checked any ideas? -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: EDITOR=bbeditFix.sh crontab -e still results in temp file must be edited in place
I know the answer to this, but because I'm away from the Mac I can't put it to hand just now. Basically, there's an expert preference you have to turn off that was new in 9.5 It's called something like safe-saves. If you go to Help you cam get to the latest release notes and it will tell you there. Sorry I can't be more precise. Sent from my iPhone On 10 Sep 2010, at 19:53, gbl gary.ley...@gmail.com wrote: OS X 10.6.4 BBedit 9.5.1 can't seem to get bbedit to edit a crontab even after doing what man bbedit suggests ~/bbeditFix.sh #!/bin/sh bbedit -w $@ chmod 744 bbeditFix.sh .bash_profile EDITOR=~/bbeditFix.sh crontab -e #runs bbedit I make changes save from bbedit and shell puts up: crontab: temp file must be edited in place In BBedit prefs tried turning off Automatically refresh documents as they change on disk : this had no effect under Text Files make backup before saving is NOT checked any ideas? -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: EDITOR=bbeditFix.sh crontab -e still results in temp file must be edited in place
On 10-Sep-2010, at 13:59, Carlton Gibson wrote: It's called something like safe-saves. This is from the 9.5 release notes. When doing a safe-save, the system does not attempt to preserve the ownership or permissions of the file being saved; this resulted in the ownership/permissions being reset to the umask defaults. This is not generally a problem for user-created and -managed content, but did occasionally get in the way. BBEdit now attempts to preserve permissions, but it cannot preserve ownership. If this continues to pose a problem in actual usage, disable safe-saves with the following expert preference: defaults write com.barebones.bbedit Filing:SafeSavesDisabled -bool YES (I am not implying this is the solution to the problem, this is just where 'safe-saves' lead me) -- He is not only dull himself; he is the cause of dullness in others. Samuel Johnson -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: EDITOR=bbeditFix.sh crontab -e still results in temp file must be edited in place
That's the one! Sent from my iPhone On 11 Sep 2010, at 00:57, LuKreme krem...@kreme.com wrote: On 10-Sep-2010, at 13:59, Carlton Gibson wrote: It's called something like safe-saves. This is from the 9.5 release notes. When doing a safe-save, the system does not attempt to preserve the ownership or permissions of the file being saved; this resulted in the ownership/permissions being reset to the umask defaults. This is not generally a problem for user-created and -managed content, but did occasionally get in the way. BBEdit now attempts to preserve permissions, but it cannot preserve ownership. If this continues to pose a problem in actual usage, disable safe-saves with the following expert preference: defaults write com.barebones.bbedit Filing:SafeSavesDisabled -bool YES (I am not implying this is the solution to the problem, this is just where 'safe-saves' lead me) -- He is not only dull himself; he is the cause of dullness in others. Samuel Johnson -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit
Re: EDITOR=bbeditFix.sh crontab -e still results in temp file must be edited in place
Hey thanks so much, that was more than precise. I'm sure I can find it when I get back to work, thanks for taking the time and sharing your knowledge. On Fri, Sep 10, 2010 at 3:59 PM, Carlton Gibson carlton.gib...@gmail.com wrote: I know the answer to this, but because I'm away from the Mac I can't put it to hand just now. Basically, there's an expert preference you have to turn off that was new in 9.5 It's called something like safe-saves. If you go to Help you cam get to the latest release notes and it will tell you there. Sorry I can't be more precise. Sent from my iPhone On 10 Sep 2010, at 19:53, gbl gary.ley...@gmail.com wrote: OS X 10.6.4 BBedit 9.5.1 can't seem to get bbedit to edit a crontab even after doing what man bbedit suggests ~/bbeditFix.sh #!/bin/sh bbedit -w $@ chmod 744 bbeditFix.sh .bash_profile EDITOR=~/bbeditFix.sh crontab -e #runs bbedit I make changes save from bbedit and shell puts up: crontab: temp file must be edited in place In BBedit prefs tried turning off Automatically refresh documents as they change on disk : this had no effect under Text Files make backup before saving is NOT checked any ideas? -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit -- You received this message because you are subscribed to the BBEdit Talk discussion group on Google Groups. To post to this group, send email to bbedit@googlegroups.com To unsubscribe from this group, send email to bbedit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/bbedit?hl=en If you have a feature request or would like to report a problem, please email supp...@barebones.com rather than posting to the group. Follow @bbedit on Twitter: http://www.twitter.com/bbedit