Google Answers Logo
View Question
 
Q: Unix VI question ( No Answer,   1 Comment )
Question  
Subject: Unix VI question
Category: Computers > Operating Systems
Asked by: idunno2-ga
List Price: $2.50
Posted: 31 Jan 2006 10:59 PST
Expires: 16 Mar 2006 17:20 PST
Question ID: 439712
Show the command which will write out all lines of text in the edit
buffer which start and end with a nondigit to a file called FOO.
Answer  
There is no answer at this time.

Comments  
Subject: Re: Unix VI question
From: bozo99-ga on 02 Feb 2006 15:09 PST
 
Cheating, sort of - you can call external commands on your data.

If there are no empty lines in your file then excluding lines
with a digit at one end or the other is OK.


1G!Gegrep -v   '^[0-9]|[0-9]$' | tee FOO

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy