Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
LINUX-SED question
Name: Sam2020 Date: April 30, 2009 at 14:26:16 Pacific OS: Windows XP Subcategory: General
Comment:
How can I edit a file doing the following: 1- join all lines that are not empty 2- change the empty line to contain just a semicolon ; as an SQL statement terminator example select a,b_ col1 from bla
select d, prod_i dent from prod where p rod_ident = 10
to be select a,b_col1 from bla ; select d, prod_ident from prod where prod_ident = 10 ;
Summary: Hello again, i have another sed question.. I'm trying to do variable substition with sed and i'm running into a problem. my var1 is a string constructed like this filename1 filerev1 filepath1 my ...
Summary: Hi friends... i want to implement a code of c under linux environment. I want the output to come exactly what it shows under windows environment. Can anybody please help me fast to change my code so t...
Summary: rofl...I think we're having serious communication problems here. After sitting here for about two hours I finally figured out that wath is supposed to be "what", thereby making it more of a question ...