![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| echo without newline character | srilaxmi | UNIX for Dummies Questions & Answers | 2 | 11-10-2008 12:11 PM |
| newline character | trichyselva | UNIX for Dummies Questions & Answers | 9 | 10-31-2008 01:47 PM |
| Sed append newline character | Gaurang033 | Shell Programming and Scripting | 3 | 06-26-2008 06:57 AM |
| Newline character not working for ksh | sanikv | Shell Programming and Scripting | 11 | 06-23-2005 02:34 PM |
| How can I replace newline character? | ghoti | UNIX for Dummies Questions & Answers | 1 | 08-16-2001 01:49 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi All,
I have named a file with current date,time and year as follows: month=`date | awk '{print $2}'` date=`date | awk '{print $3}'` year=`date | awk '{print $6}'` time=`date +%Hh_%Mm_%Ss'` filename="test_"$month"_"$date"_"$year"_"$time".txt" > $filename The file is created with a newline character at the end (after .txt) of the filename. Am not getting why this is happening.. Can u help me?? Thanks, Amio |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|