01 January 2019 0 4K Report

I am trying to write a simple bash script to create a POTCAR based on user inputs ....i know i can use the read function to take in user inputs, but I am not sure how to do this for different numbers of atoms (since each POTCAR will have different numbers of atoms) ...i know you can do multiple variables using the read function, but I want to be able to use the read function in a loop that will allow the user to input the psuedopotentials they desire, and then concatenate the results into a POTCAR ....any help would be greatly appreciated!!

Similar questions and discussions