Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Unix question - correction
Hi,
I found that the lines in my file were not blank.
But there were leading spaces before the end of line causing the
continuation to the next line.
How can I remove leading spaces before the end of line in the file.
Thanks
Manoj
-----Original Message-----
From: oracle-l-bounce_at_freelists.org [mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Richard Ji
Sent: Friday, May 07, 2004 11:25 PM
To: oracle-l_at_freelists.org
Subject: RE: Unix question - correction
Oops, forgot the dollar sign
:g/^[ \t]*$/d
-----Original Message-----
From: Richard Ji Sent: Fri 5/7/2004 1:48 PM To: oracle-l_at_freelists.org Cc: Subject: RE: Unix question
Note the space character
-----Original Message-----
From: srinivasan v [mailto:srini_at_comline.com.my] Sent: Fri 5/7/2004 6:14 AM To: oracle-l_at_freelists.org Cc: Subject: RE: Unix question
HTH srini
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of
manoj.gurnani_at_polaris.co.in
Sent: Friday, May 07, 2004 5:56 PM
To: oracle-l_at_freelists.org
Subject: Unix question
Importance: High
Hi,
I want to remove all blank lines in a file using vi editor. Which command can do the needful. Thanks Manoj
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
This e-Mail may contain proprietary and confidential information and is sent for the intended recipient(s) only. If by an addressing or transmission error this mail has been misdirected to you, you are requested to delete this mail immediately. You are also hereby notified that any use, any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail message, contents or its attachment other than by its intended recipient/s is strictly prohibited.
Visit Us at http://www.polaris.co.in
![]() |
![]() |