My embedded device uses busybox and it only has getopt. I wanted to port getopts to my embedded device and was looking for getopts source to do that. Where can I find getopts source?
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.
You should find it in bash source. You can download
bashfrom HereYou will find
getopts.definsidebuiltins/dir.mkbuiltins -D . getopts.defwill create getopts.c.You will have to do
configureandmakewhich will createmkbuiltinsinside
builtins/directory.