|i have a file with names in it lets call it a testfile.txt...|
1. i want to make sure all the names are lowercase...so i was going to do this..
tr '[A-Z]' '[a-z]' testfile.txt > lowerfile.txt
2. i wante to add a *, to the front of each name and a ,*,* to the end of each name and i was able to do this by this line command..
cat lowerfile.txt | xargs -iz eacho "*," "Z" ",*,*" > newfile.out
3. wanted to name newfile.out to test(next number available).out...like test1.out..test2.out what ever the next available number is ...and echo the output file is ......out