I have a file that contains a list of names. I need to select a certain name and chop it down in size but this name occurs here and there in my list and i need to chop it down without changing where it occurs in the list of names. Confused? Here is an example:
List of names
I need to chop all the Mandy#### down to Mandy without changing the order of the list. I am very new to Unix and i have looked at awk and sed and grep but i can't seem to use them in a way that doesn't change the order of my list.
If anyone can help me i'd really appreciate it!