Search Results

Search: Posts Made By: tonsat
2,379
Posted By tonsat
I want to thank you purdym and anurag.singh for...
I want to thank you purdym and anurag.singh for reply.
As I said it is more like repetitive option issue. For example if do as below it is working fine.
#! /usr/bin/ksh
while getopts a: b: cd:f:...
2,379
Posted By tonsat
I am sorry I would have put OS earlier: Linux...
I am sorry I would have put OS earlier: Linux 2.6.9-67.ELsmp.
Thank you for your quick response.
2,379
Posted By tonsat
Help with getopts command
Hello All,
I have shell script as below in a.ksh.
#! /usr/bin/ksh
while getopts a: b: ab:f: VAR
do
case $VAR in
a) A=${OPTARG}
echo $A;;
b) B=${OPTARG}
echo $B;;
ab) AB=${OPTARG}
echo $AB...
Showing results 1 to 3 of 3

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