#!/bin/bash echo "Please, enter name" read NAME echo "$NAME," >> MyFile$(date +%m%d%Y) echo "done"
it will append the
NAME to the file without issue, however, I want it to append the existing line in the file rather than starting a new line with each append
instead of what I have currently happeneing which is:
bob, sarah, jane,