View Single Post
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Issues emailing data from unix/sql script

 
0
  #10
Mar 31st, 2008
Sweet I'm glad that one got solved

I think the Hash mark is really dependent on what you're doing (the program you're using). When I first tried to replicate your results, I foolishly did this:

Shell Scripting Syntax (Toggle Plain Text)
  1. cat FILE <<EOF >OUTPUT
  2. hi
  3. there # how are ya
  4. EOF

Shell Scripting Syntax (Toggle Plain Text)
  1. host # cat OUTPUT
  2. hi
  3. there # how are ya
  4. host #

and that worked okay, so I initially dismissed it. It came to mind later because I found I had a problem with comments in an old script where I was doing "ftp" instead of "cat"

Anyway, great news

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote