Search Results

Search: Posts Made By: Danette
3,584
Posted By Danette
I want to check if the option is set so I can...
I want to check if the option is set so I can then assign the variable flnm.

But I do not know how I can do it. I expected the -z expressions to work.
--- Post updated at 12:31 AM ---

I have...
3,584
Posted By Danette
No. I fixed the -z but still getting the error....
No. I fixed the -z but still getting the error. The error line it complains about is a blank line at the end of the script.
3,584
Posted By Danette
The space when calling bash was a mistake when...
The space when calling bash was a mistake when pasting the code. I have fixed the -z problem. Small mistake when
I was trying various things to try to get things to work out.
3,584
Posted By Danette
If I put the exit before the if section, I do not...
If I put the exit before the if section, I do not get the error. And the script works when I remove the if section for options.
3,584
Posted By Danette
Picking script options in bash
I would like to select a particular file by passing an option to a bash script so that I can call another
program to compile an outline of some documents I have

But I am getting an error when...
Showing results 1 to 5 of 5

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