I need to write a shell script to read a three digits value(including numbers and letters, such as K34 or 157....etc) from command parameter. How to deal with the parameter? Is it possible to convert the parameter string into characters and use Loop to get characters?
Any help will be appreciated.
I need to write a makefile shell script and the first pararmeter will be the release number. The release number must consist of three digit numbers(including either number or letter, such as 001, 002, or 3KH, A58). What I need to do is only to judge if the digits equals three and whether they belongs to either Number or Letters. That's it. It shouldn't be too difficult, but I still cannot find the way out.