I am learning shell scripting so can someone please explain with some examples on what is getopts and IFS?
I am learning shell scripting so can someone please explain with some examples on
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
getoptsis the tool used to parse arguments passed.IFS(Internal Field Separator) is the variable which determines how bash distinguishes words.No offense but a simple Google search would have given you the answers & samples 🙂
Hope this helps!