Re: Unix scripts not working in 10.8.2

2012-10-06 Thread John Delacour
On 05/10/2012 20:52, François Schiettecatte wrote: Dumb question, have you checked that the script has execute permissions? chmod 755 myScript.pl I’ve explained why the scripts weren’t working, and it has nothing to do with permissions. A script does not need to be executable in this

Re: Unix scripts not working in 10.8.2

2012-10-06 Thread Doug McNutt
At 21:53 +0100 10/6/12, John Delacour wrote: On 05/10/2012 20:52, François Schiettecatte wrote: Dumb question, have you checked that the script has execute permissions? chmod 755 myScript.pl I've explained why the scripts weren't working, and it has nothing to do with permissions. A script

Unix scripts not working in 10.8.2

2012-10-05 Thread John Delacour
I installed Mountain Lion yesterday, probably the worst decision I ever made! Some of Apple’s own main apps now seem to be buggier than they were 5 years ago with no useful new features. None of my UNIX filters in BBEdit are now working. For example this script #!/usr/bin/perl while () {

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread François Schiettecatte
Dumb question, have you checked that the script has execute permissions? chmod 755 myScript.pl François On Oct 5, 2012, at 3:43 PM, John Delacour johndelac...@gmail.com wrote: I installed Mountain Lion yesterday, probably the worst decision I ever made! Some of Apple’s own main

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread Doug McNutt
At 20:43 +0100 10/5/12, John Delacour wrote: I installed Mountain Lion yesterday, probably the worst decision I ever made! Some of Apple's own main apps now seem to be buggier than they were 5 years ago with no useful new features. None of my UNIX filters in BBEdit are now working. For example

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread François Schiettecatte
Good point about the semi-colon, I missed that (too much python). FWIW it is good practice to use : #!/usr/bin/env perl rather than: #!/usr/bin/perl At the start of your script, so that perl can be found if it is relocated. François On Oct 5, 2012, at 4:54 PM, Doug McNutt

Re: Unix scripts not working in 10.8.2

2012-10-05 Thread John Delacour
On 05/10/2012 21:54, Doug McNutt wrote: At 20:43 +0100 10/5/12, John Delacour wrote: None of my UNIX filters in BBEdit are now working. For example this script #!/usr/bin/perl while () { print * $_ } should put an asterisk at the beginning of each line in the front document but nothing