Bash - Shell Script - Simple script to create and write variables to txt file.
Posted on 2008-10-02
Can someone help me with a simple bash script to create a file 'test.txt' and write variables to it.
and then write it to the txt file with a : delimited format. It will always be just one line. It would be like this:
The last thing it has to do is place carriage returns on the end of each line so its in windows txt format.
I guess this could be done with sed, but not sure how. Thanks for any help.