If someone can explain this to me I'd appreciate it.  I've looked so long and tried so many different ways to correct this I'm afraid I'm just over looking the issue now.  The different ways I've tried have all resulted in the same output.  I'm trying to create a file name with the Date&Time.  Code just below and then below that I'll show the output and would like to know why?
	Output of "echo $myFl".  It appears to over-write the previous values in the myFl assignment.  Why?  What am I doing wrong?
	
							
						
					Code:
	
	myDATE=`date '+%m%d%Y'` myTIME=`date '+%H%M%S'` myFl=$myDATE$myTIME".txt" echo $myFl
Code:
	
	.txt2214





 Then what the Frick Frack us going on!!?  What is at the begining of your script?
  Then what the Frick Frack us going on!!?  What is at the begining of your script?
							
						


 ! That puzzle would have had me scratching my head (and losing what little hair I have) very quickly. I tried saving the script with both line ending styles and it does indeed behave the way the OP and you have said. I never would have thought it would do that ... quite a trap for newbies (and not so newbies like myself).
! That puzzle would have had me scratching my head (and losing what little hair I have) very quickly. I tried saving the script with both line ending styles and it does indeed behave the way the OP and you have said. I never would have thought it would do that ... quite a trap for newbies (and not so newbies like myself).
							
						

 
							
						
Comment