Hello, I'm Puriandrua and I'm new to the forums. I just had a simple quick question..
So I've completed a lab for a linux programming class I'm working on and looking at doing the extra credit which is taking input from the user in the .bat file I've created after slimming the file down and everything. Basically if the user inputs age 18 the .bat file will change it to 27 and eliminate or disallow any users named Chris.
Can anyone help me with getting started or show me how to take user input in the .bat file? The code I have for my .bat file thus far is the following:
Code:
grep Columbus custFile.txt | grep -v Chris | awk -F"," '{OFS="|"}{print$2,$1,$3,$4}' | sed 's/18/27/g' > import.txt
I'm not sure how to go about accepting user input :/
Thanks in advance,
Puriandrua