Re: Finding lines that do NOT contain a pattern

2012-08-28 Thread Olof Svensson
English is not my first language. I try to keep it short but I don't want to 
sound unfriendly.

If you have a file (MyFile):

George Smily, Modesty Blaise, Olof
Karla, Willy Garvin, Zorro
George Smily, Modesty Blaise, Karla
Olof, Karla, Willy Garvin, Zorro

Try a shellscript like:

egrep -v 'Olof' Path-to-MyFile | bbedit

This will exclude all lines containing 'Olof' and you will have:

Karla Willy Garvin Zorro
George Smily, Modesty Blaise, Karla

in a new document in BBedit.

--
Olof Svensson


2 rules to success in life.
1. Don't tell people everything you know.





27 aug 2012 kl. 07.47 skrev gugus2000:

 How can I remove lines from a large file that do not contain a certain 
 pattern? I can easily find the lines with the pattern but then...? The way 
 I do it today is using grep on the command line with io-redirection but I 
 think there should be a way to do it from within BBEdit.
 
 Thanks for your help
 ---markus---
 

-- 
-- 
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





10.8.1 Disabled my BBEdit

2012-08-28 Thread Steve Dennie
I used Chrome and BBEdit all this morning. Then I upgraded to Mac OS 
10.8.1, and now neither of them will launch. Very frustrating. Fixed 
permissions, but no luck. Yes, I'm running the latest BBEdit version.

-- 
-- 
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: 10.8.1 Disabled my BBEdit

2012-08-28 Thread Tobias Horvath
On 28.08.2012, at 19:19, Steve Dennie steveden...@gmail.com wrote:

 I used Chrome and BBEdit all this morning. Then I upgraded to Mac OS 10.8.1, 
 and now neither of them will launch. Very frustrating. Fixed permissions, but 
 no luck. Yes, I'm running the latest BBEdit version.

This problem seems to be related to your particular installation and not BBEdit 
itself.
Nevertheless, you'll get fast support by writing to supp...@barebones.com.

T

smime.p7s
Description: S/MIME cryptographic signature


Re: Sort and disply duplicate lines wtih number in front

2012-08-28 Thread Bucky Junior
Jim,

Chris' terminal line works great. I use something similar but create a new 
sorted file so I don't have to deal trying to get the info from the screen. The 
BBEdit worksheet will capture it.

sort tempfile0 | uniq -c | sort tempfile1

On Aug 26, 2012, at 7:23 PM, Christopher Stone wrote:

 On Aug 26, 2012, at 18:11, Jim Walker tvcne...@gmail.com wrote:
 We lost the feature available through Linesort in previous versions of 
 BBedit it appears.
 
 I have a list of 1 million IP addresses and I need to sort, remove 
 duplicates and display to left the number of times the IP address appears in 
 file.
 
 __
 
 Hey Jim,
 
 LineSort was a nice plugin, but most of its functionality is available in 
 BBEdit these days.
 
 You can run something like this from the Terminal or from a BBEdit worksheet.
 
 sort ~/Desktop/sort_test.txt | uniq -c
 
 --
 Best Regards,
 Chris
 
 -- 
 -- 
 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: formatting or indentation of code block

2012-08-28 Thread Bucky Junior

On Aug 27, 2012, at 6:58 AM, JC wrote:

 Thanks!
 How could I miss this one :-)
 Jeroen


U Lots of features in a compact form?
grin

Bucky
As the saying goes, the more you dig, the deeper you get. --MAW

-- 
-- 
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: 10.8.1 Disabled my BBEdit

2012-08-28 Thread Patrick Woolsey
At 10:19 -0700 08/28/2012, Steve Dennie wrote:
I used Chrome and BBEdit all this morning. Then I upgraded to Mac OS
10.8.1, and now neither of them will launch. Very frustrating. Fixed
permissions, but no luck. Yes, I'm running the latest BBEdit version.


We have seen this problem before and as we're reasonably certain it's an OS
issue, we have already reported it to Apple.

As an immediate measure, the following steps should correct it:

1. Launch the Terminal.

2. Issue the following Terminal command (on a single line) and type
   your login password to authorize it when prompted:

   sudo update_dyld_shared_cache -force

3. Restart your Mac.

4. Launch BBEdit.


Last, if I may offer this reminder :-), we both ask  recommend that anyone
who encounters a problem contact tech support. (You can use the contact
form on our website, or send email directly to supp...@barebones.com.)


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc.  http://www.barebones.com
P.O. Box 1048, Bedford, MA 01730-1048

-- 
-- 
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: 10.8.1 Disabled my BBEdit

2012-08-28 Thread Christian Boyce
I wonder whether your apps are where the system expects them to be 
(Applications folder). Also, how do you launch them, and what happens when you 
try?

--
Christian Boyce
Christian Boyce and Associates
Mac, iPhone, and iPad Consultants
New main phone number: 424-354-3548

Read the Boyce Blog: http://christianboyce.blogspot.com
Follow us on Twitter! http://twitter.com/christianboyce
Be a fan on Facebook! http://tinyurl.com/cboyce-and-associates-facebook

On Aug 28, 2012, at 10:42 AM, Tobias Horvath t...@tobyx.com wrote:

 On 28.08.2012, at 19:19, Steve Dennie steveden...@gmail.com wrote:
 
 I used Chrome and BBEdit all this morning. Then I upgraded to Mac OS 10.8.1, 
 and now neither of them will launch. Very frustrating. Fixed permissions, 
 but no luck. Yes, I'm running the latest BBEdit version.
 
 This problem seems to be related to your particular installation and not 
 BBEdit itself.
 Nevertheless, you'll get fast support by writing to supp...@barebones.com.
 
 T

-- 
-- 
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





charset=Shift_JIS

2012-08-28 Thread jgold723


I have inherited a website in which the pages are using the character set 
Shift_JIS. This causes me to get a document encoding mismatch when I 
attempt to save the pages -- although I'm not seeing any other problems 
related to this and everything else looks fine in the coding and the pages 
display fine.

So:

1) Any idea why the pages would be using this character set? There are no 
Japanese characters (although I think the previous coder was Japanese);

2) Is there any potential harm in changing the character set to utf-8?

Thanks,

John


-- 
-- 
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: 10.8.1 Disabled my BBEdit

2012-08-28 Thread Fritz Anderson
If an application cares whether it's in /Applications, that's a bug, either in 
the application or the operating system. Mac applications have always been 
indifferent to where they are stored (barring access privileges and the like). 
However, if you have two copies of an application on disk, that could cause 
problems.

— F

On 28 Aug 2012, at 2:37 PM, Christian Boyce mac...@christianboyce.com wrote:

 I wonder whether your apps are where the system expects them to be 
 (Applications folder). Also, how do you launch them, and what happens when 
 you try?

-- 
-- 
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