Re: concatenate $FILENAME and .yyy

2001-07-12 Thread Paul
uot;; I suspect the problem in the newline you get from STDIN > And the result is only > .yyy Isn't it the value of $FILENAME on one line, and .yyy on the next? > How do I concatenate $FILENAME and .yyy? Exactly as suggested by others here on the list. chomp $FILENAME af

Re: concatenate $FILENAME and .yyy

2001-07-12 Thread Craig S Monroe
You will never find time for anything. If you want time, you must make it. Charles Buxton - Original Message - From: "Craig S Monroe" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 12, 2001 5:27 PM Subject: Re: concatenate $FILENAME and

Re: concatenate $FILENAME and .yyy

2001-07-12 Thread Craig S Monroe
-3558 Email pager: [EMAIL PROTECTED] -- You will never find time for anything. If you want time, you must make it. Charles Buxton - Original Message - From: "Jennifer Pan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 12, 2001 4:49 PM Subje

Re: concatenate $FILENAME and .yyy

2001-07-12 Thread Stephen LeClaire
Jennifer Pan wrote: > Hello all, > > I stdin a file name: xxx.txt > and I would like to have a output file name called x.txt.yyy > > This is how I do it > > $FILENAME = ; > $output = "$FILENAME.y"; > print "$output"; > > And the result is

RE: concatenate $FILENAME and .yyy

2001-07-12 Thread Mooney Christophe-CMOONEY1
make like pacman and CHOMP IT !!! ;) $FILENAME = ; chomp $FILENAME; ... -Original Message- From: Jennifer Pan [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 3:49 PM To: [EMAIL PROTECTED] Subject: concatenate $FILENAME and .yyy Hello all, I stdin a file name: xxx.txt and I

concatenate $FILENAME and .yyy

2001-07-12 Thread Jennifer Pan
Hello all, I stdin a file name: xxx.txt and I would like to have a output file name called x.txt.yyy This is how I do it $FILENAME = ; $output = "$FILENAME.y"; print "$output"; And the result is only .yyy How do I concatenate $FILENAME and .yyy? Thank you