Yes, that's exactly what I do. Copy and paste then press enter to execute. Regards, Paul Jurkonis Sent from Proton Mail mobile -------- Original Message -------- On May 19, 2024, 7:58 PM, joevt wrote: Maybe you can show me how you are running it through bash. In my tests, I just copy and paste the text into a Terminal.app window. Error installing on MacBook 1,1 Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/refind/discussion/general/ To unsubscribe from further...
@joevt I made the change, -nE to -ne. I ran it through bash this is the error; /Users/myName/Desktop/new.bash: line 1: syntax error near unexpected token'`{ 'Users/myName/Desktop/new.bash: line 1: `testit () {
@joevt this is what happens when I run in Bash and Perl **Bash:** PALMACPRO:~ myName$ /Users/ myName /Desktop/new 'Users/ myName /Desktop/new: line 1: syntax error near unexpected token `{ 'Users/ myName /Desktop/new: line 1: `testit () { PALMACPRO:~ myName $ **Perl:** PALMACPRO:~/desktop myName $ perl -w new Unquoted string "perl" may clash with future reserved word at new line 2. String found where operator expected at new line 2, near "nE 'exit !(/vmlinuz|bzImage|kernel/)'" (Do you need to predeclare...
@jovet I'm not new to programming, but I'm not fluent in any specific programming language. With that said, I would need more detailed instructions where to make edits in the original script. Regards, Paul Jurkonis Sent from Proton Mail mobile Regards, Paul Jurkonis Sent from Proton Mail mobile -------- Original Message -------- On May 16, 2024, 8:09 AM, joevt wrote: Maybe use perl? if perl - nE 'exit !(/vmlinuz|bzImage|kernel/)' <<< "$FirstCmdlineOption" ; then Error installing on MacBook 1,1 Sent...
@joevt Thanks for the reply Productname: Max OS X Productversion: 10.4.11 $SHELL /bin/bash
Hello, When trying to install my MacBook 1,1 I get this error no matter what I do. /Volumes/NO NAME/refind-install: line 1397: conditional binary operator expected /Volumes/NO NAME/refind-install: line 1397: syntax error near `=~' /Volumes/NO NAME/refind-install: line 1397: ` if [[ "$FirstCmdlineOption" =~ (vmlinuz|bzImage|kernel) ]] ; then' I appreciate any help/ideas