Search Results

Search: Posts Made By: its
21,100
Posted By its
Ookk.. So passing "" works. I will define...
Ookk.. So passing "" works.

I will define PDN before the case and then pass optargs.. if it is empty it will have the default value

thanks :)
21,100
Posted By its
Still no return of echo $PDN
Still no return of

echo $PDN
21,100
Posted By its
Using default value with getopts and case
Hey Guys

I have a program in shell which is reading default values from a file

filename: default

MAN=Value1
MANPD=997
REPPD=P1G6


Now the code calling is


#!/bin/sh

....
Showing results 1 to 3 of 3

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