Re: confusing bulltes

2004-01-12 Thread Chris Devers
On Sun, 11 Jan 2004, Oliver Schnarchendorf wrote: Okay... I think the problem here is that BBEdit doesn't use your Environmental variables. You can print them with the following one liner perl -e 'use Data::Dumper; print Dumper (\%ENV);' Do yourself a favor and put the above perl

Re: confusing bulltes

2004-01-12 Thread Oliver Schnarchendorf
On Mon, 12 Jan 2004 09:38:09 -0500 (EST), Chris Devers wrote: On Sun, 11 Jan 2004, Oliver Schnarchendorf wrote: perl -e 'use Data::Dumper; print Dumper (\%ENV);' Maybe I'm being naive, but in what way is this better than just using plain old /usr/bin/env? It was a perl question... not a

Re: confusing bulltes

2004-01-11 Thread Vic Norton
I'm sorry for all the confusion. Let me try one last time. I have a perl file with a single chunk of data produced by typing option-8 after __DATA__. So the end of the file looks like this: __DATA__ option-8 When I look at this file with HexEdit, option-8 appears as A5. My actual

Re: confusing bulltes

2004-01-11 Thread Oliver Schnarchendorf
On Sun, 11 Jan 2004 21:02:14 -0500, Vic Norton wrote: My actual script looks for the pattern m/\xa5/ in the data. If I make the script executable and run it from the terminal, it finds A5. If I execute the script from BBEdit, either directly or Run in Terminal, no A5 is found. Okay... I

Re: confusing bulltes

2004-01-11 Thread Peter N Lewis
At 9:02 PM -0500 11/1/04, Vic Norton wrote: When I write another script to print out the bytes under __DATA__, I see A5 if I execute the script from Terminal, and I see E2 80 A2 if I run the script fom BBEdit, either directly or Run in Terminal. But BBEdit can see A5. It just can't see it as

Re: confusing bulltes

2004-01-11 Thread Jim Correia
On Jan 11, 2004, at 9:55 PM, Peter N Lewis wrote: When you 'run the script from BBEdit, either directly or Run in Terminal.', what actually happens is BBEdit saves the file in a temporary file and then executes it. Not always. If the editing window is unsaved, or has non-native line endings,