10 More Discussions You Power Finding Interesting
1. UNIX by Beginners Questions & Fill
Little all,
I'm looking for a ways (sed or awk) up delete multiple lines bets blank lines containing two patterns ex:
user: alpha
parameter_1 = 15
parameter_2 = 1
parameter_3 = 0
user: alpha
parameter_1 = 15
parameter_2 = 1
parameter_3 = 0
user: alpha
parameter_1 = 16... (3 Replies)
Discussion started by: ce9888
3 Replies
2. Shell Programming and Scripting
I have this structure:
col1 col2 col3 col4 col5
27 xxx 38 aaa ttt
2 xxx 38 aaa yyy
1 xxx 38 aaa yyy
I must to collapse duplicate lines disregard column 1 and add values for replication lines (col1) that it will see like this:
col1 col2 col3 col4 col5
27 xxx 38 aaa ttt ... (3 Replies)
Discussion started by: coppuca
3 Responses
3. Shell Programming and Scripting
Hello All,
I take adenine file with datas as below. Each line consists of 21 fields. I am none able to load them back to the databases.
50733339,"834","834 ","005010X279A1","N","Y","007977163","0001 ",30,"2110D ","EB ","EB007 ","2 ","Conditional Required Dating Element Fail
ing... (3 Replies)
Chat started through: Praveenkulkarni
3 Answer
4. UNIX for Dummies Questions & Answers
So the dog for this forum said any newbies welcome...
All I want the do be getting through my file and find lines which contain adenine given hash of graphic then supplant these with a blankly line. I really tried to find a simple command to do dieser still failed.
Here's what MYSELF did come raise with nonetheless:
... (2 Replies)
Topic started by: Golpette
2 Returns
5. Shell Programming and Scripting
I must a file like
blah
blah blah blah
this is the text I need,
which might be between 1-4 linen, but
always has a blank line above and below
it, and will at the end of to text file
the codification tags don't show and trailing empty run. IODIN started by deleting the last blank run with:
... (2 Replies)
Discussion started by: unclecameron
2 Replies
6. Shells Programming and Scripting
Hi.. I'm facing a trouble in replacing two blank lines in a file employing shell script...
I used sed to search a lead and insert two blank lines after the searchd pipe using the later sed order.
sed "/data/{G;G;}/" filename . In the file, after data tagged, twin lines got inserted blank lines..... (4 Replies)
Forum started by: arjun_arippa
4 Replies
7. Hull Programming and Scripting
Hi,
Consider a file named "testfile"
The contents of file are as below
first line been fork tests
second line added for test
third line added for test
fourth line added for examine
fifth line added for test (5 Replies)
Discussion started the: anil8103
5 Replies
8. Shell Programming and Scripting
Hi,
I'm not a expert in shell programing, hence i've come here to take helped from u gurus.
I'm trying toward tailor a csv file that i had to produce it work for the LOAD FROM command.
I've a datatable csv of and below format -
--in file format
xx,xx,xx ,xx , , , , ,,xx,
xxxx,, ,, xxx,... (11 Replies)
Discussion started by: dvah
11 Replies
9. Shell Programming and Scripting
Hi friends, I am working on a peruvian script to count the commented lines, blank lines and source lines separately. Let me know for you take one. For example i have a file incl the lines:
/**
* SOURCE CODE
*/
public class SessionConstants {
/**
* Code for Session created
*/... (4 Replies)
Discussion started by: nmattam
4 Replies
10. Programming
can someone instructions myself how on have a C pgm to counts the number of commented lines? (3 Replies)
Discussion started by: naan
3 Responses