Search Results

Search: Posts Made By: jakeroberts
4,401
Posted By jakeroberts
I found the problem. I really, really hope...
I found the problem. I really, really hope someone can explain it. The top line does not work. The bottom one does. I manually typed the top line in. I copied and pasted the bottom line from...
4,401
Posted By jakeroberts
Thanks for the quick replies. I'm at work now,...
Thanks for the quick replies. I'm at work now, but I will try this when I get home. Thanks again.
4,401
Posted By jakeroberts
There's not supposed to be spaces. The script is...
There's not supposed to be spaces. The script is meant to find and determine if a file is executable based on the user's path. The idea is that it can deal with "ls" or "/bin/ls."
4,401
Posted By jakeroberts
Bash function failing with [: too many arguments
I'm reading Wicked Cool Shell Scripts. For some reason, the function pasted in below gives the error: ./inpath2: line 10: [: too many arguments. What am I missing?





in_path()
4 {
...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 08:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy