I have a list of clients, code, name, location, etcand I want to make a function that asks the employee to give the client's codeand then the field he/she wants to change.For example, location and then replace it with the content he or she wants.How can I specify the type of the field that is to be changed?Example of clients file:ID,BUSINESSNAME,ADDRESS,TOWN01,starbucks,rubin 3,memphisI want to read the ID for example 01then ask what field I want to changefor example address, and the new address e.g rubin 2, and thensave it to the file.The new modified file should look like this now:ID,BUSINESSNAME,ADDRESS,TOWN01,starbucks,rubin 2,memphis
Specify the type of field to modify in a file
shell;shell script;text processing