Search Results

Search: Posts Made By: Brewer27
42,516
Posted By Brewer27
So I am looking at my code and I see that where I...
So I am looking at my code and I see that where I am setting linetest1 = to something I have a ' around it. Is that my problem or should I be looking elsewhere. Sorry, I am new to UNIX and coding in...
42,516
Posted By Brewer27
How to fix :[too many arguments error in code
I am getting a :[ too many arguments error on line 28 if I do not specify a directory or file when running my code. Any suggestions as I am stuck here.

if [ $# -gt 1 ]; then
echo "Enter...
5,920
Posted By Brewer27
Nope...that fixed it though. Thanks.
Nope...that fixed it though.

Thanks.
5,920
Posted By Brewer27
It still shows me as having an issue with the...
It still shows me as having an issue with the done portion of my while loop at the end, I tried moving the done above and below the last statement but it wont work.
5,920
Posted By Brewer27
Help with ELIF statement
I am receiving an elif error on line 13 and I can not figure out the reasoning behind it. I have added the then statement that I was initially missing. Any help would be great.


#The purpose of...
Showing results 1 to 5 of 5

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