Okay, I want to write out the result of "date" command to a file, followed
by some information like this:
Tue 10/30/2001 - interview at IBM
How do I do this? On the prompt I tried "date >> output.txt" followed by
"echo ' - interview at IBM' >> output.txt" but the result was
Tue 10/30/2001
- interview at IBM
I also tried "date | sed '/\n/d' >> output.txt" followed by "echo
' -interview at IBM' >> output.txt". Still no dice.
How do I get rid of that newline?