![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hello all,
I have unix file that ends with the following EOF '9999999999' I want to remove the '\n' character after EOF. What is the command that should be included in the script, before sending the file? will this work: $ echo "<99999999999>\c" >> <filename> thanks in advance. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
"\c" should be enough to suppress the trailing newline, according to the man pages.
|
|
#3
|
|||
|
|||
|
I am using an FTP script and do not understand how to incorporate this?
should I run a unix command, prior to running the Ftp script? I am novice at Unix and any help would be highly appreciated. |
|
#4
|
|||
|
|||
|
How can I use echo command with Ftp script to achieve the above functionality,.. please help
|
|||
| Google The UNIX and Linux Forums |