Re: [Fink-devel] install_name perl script

2003-01-28 Thread Finlay Dobbie

On Tuesday, January 28, 2003, at 10:17  pm, Chris Zubrzycki wrote:


On Tuesday, January 28, 2003, at 12:04  AM, Jeremy Erwin wrote:

Hmm, after I fixed a spurious newline that my test editor had added 
in the midst of
 `/usr/bin/install_name_tool -change $File::Find::name $newlibrary 
$_\n`;, the script works. Thanks a lot, pico!

fink install nano. much better than pico...i love it


Both spuriously add newlines unless you run them with -w, AFAIK.

 -- Finlay



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] install_name perl script

2003-01-28 Thread Chris Zubrzycki

On Tuesday, January 28, 2003, at 05:41  PM, Finlay Dobbie wrote:



On Tuesday, January 28, 2003, at 10:17  pm, Chris Zubrzycki wrote:


On Tuesday, January 28, 2003, at 12:04  AM, Jeremy Erwin wrote:

Hmm, after I fixed a spurious newline that my test editor had added 
in the midst of
 `/usr/bin/install_name_tool -change $File::Find::name $newlibrary 
$_\n`;, the script works. Thanks a lot, pico!

fink install nano. much better than pico...i love it


Both spuriously add newlines unless you run them with -w, AFAIK.


True, but even with -w pico will still wrap the lines after a certain 
length, it bit me with some of RangerRick's kde info files...and nano 
has way more features, like just to any line #, etc.

-chris zubrzycki
- --
PGP public key: http://homepage.mac.com/beren/publickey.txt
ID: 0xA2ABC070
Fingerprint: 26B0 BA6B A409 FA83 42B3  1688 FBF9 8232 A2AB C070

Security Is A Series Of Well-Defined Steps...

chmod -R 0 / ; and smile :)




---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Re: [Fink-devel] install_name perl script

2003-01-27 Thread Randal L. Schwartz
 Ben == Ben Hines [EMAIL PROTECTED] writes:

Ben On Monday, January 27, 2003, at 01:22  PM, Jeremy Erwin wrote:

 Parentheses missing around my list at ./fixlib line 4.
 Useless use of a variable in void context at ./fixlib line 4.

Ben Is perl 5.8 stricter about this or something?

Ben I have:
Ben my $newlibrary, @liblist, $libdir = /usr/X11R6/lib;

I'd hope so.  That's *always* been broken.  Perhaps the warning
was recently added.

I'm not sure what you're trying to do there.  If you mean:

my $newlibrary;
my @liblist;
my $libdir = /usr/X11R6/lib;

then you'll have to say that.  No simple addition of parens will help
you.  What you're saying now is the same as leaving the second and
third my off, and use strict would have caught that.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
[EMAIL PROTECTED] URL:http://www.stonehenge.com/merlyn/
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] install_name perl script

2003-01-27 Thread Ben Hines

On Monday, January 27, 2003, at 06:41  PM, Randal L. Schwartz wrote:


my $newlibrary;
my @liblist;
my $libdir = /usr/X11R6/lib;

then you'll have to say that.  No simple addition of parens will help
you.  What you're saying now is the same as leaving the second and
third my off, and use strict would have caught that.


Ah, i'm a perl newbie as you can see, just doing what i would do in C.

-Ben



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel



Re: [Fink-devel] install_name perl script

2003-01-27 Thread Jeremy Erwin

On Monday, January 27, 2003, at 10:09  PM, Ben Hines wrote:



On Monday, January 27, 2003, at 06:41  PM, Randal L. Schwartz wrote:


my $newlibrary;
my @liblist;
my $libdir = /usr/X11R6/lib;

then you'll have to say that.  No simple addition of parens will help
you.  What you're saying now is the same as leaving the second and
third my off, and use strict would have caught that.


Ah, i'm a perl newbie as you can see, just doing what i would do in C.

-Ben


Hmm, after I fixed a spurious newline that my test editor had added in 
the midst of
 `/usr/bin/install_name_tool -change $File::Find::name $newlibrary 
$_\n`;, the script works. Thanks a lot, pico!

Anyway, sorry to pollute the list with a bug of my own devising.

Jeremy



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel