Search Results

Search: Posts Made By: rajdeep_paul
4,891
Posted By chacko193
getopts might help you. Have a look at this...
getopts might help you. Have a look at this sample script:

m@home$cat test.sh
#! /bin/bash

#An array to hold the values passed using -c option
declare -a c_arr

#The count of -c options...
Showing results 1 to 1 of 1

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