8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
we have a requirement to split a content in a text file every 5 rows and write in a new file .
if 5th line falls between center of the statement . it should look upto after ";"
files are below format:
1 UPDATE TABLE TEST1 SET VALUE ='AFDASDFAS'
2 WHERE... (3 Replies)
Discussion started by: KK230689
2. Shell Programming and Scripting
I am trying to select the rows in a fixed width file based on values in the columns.
I want to select only the rows if column position 3-4 has the value AB
I am using cut command to get the column values. Is it possible to check if cut -c3-4 = AB is true then select only that... (2 Replies)
Discussion started by: ashok.k
3. Shell Programming and Scripting
I want to compare 4 edge-lists to basically see if an edge is present in all 4 networks. The issue is that an edge A-B in one file can be present as B-A in another file.
Input 1: net1.txt
A B 0.1
C D 0.65
D E 0.9
E A 0.7
Input 2: net2.txt
A Z 0.1
C D 0.65
E D 0.9
E A... (1 Reply)
Discussion started by: Sanchari
4. Shell Programming and Scripting
I have a huge file and I want to select first 10 charcters and last 2 characters of everyline and than will filter the unique line.
I know, it must be easy bt I am new to unix scripting:)
I have file as below and need to e3kbaird and last 2 characters. and than unique records.
... (3 Replies)
Discussion started by: Sanjeev Yadav
5. Shell Programming and Scripting
I have googled this and searched this forum, however I haven't had much luck with an answer and have tried several different things.
Basically I have a SQL select statement which generates a whole load of UPDATE statements, I want to run the select statement via... (13 Replies)
Discussion started by: dbchud
6. Shell Programming and Scripting
I have high values (such as ÿÿÿÿ) in a text file contained in an Unix AIX server. I need to identify all the records
which are having these high values and also get the position/column number in the record structure if possible. Is there
any Unix command by which this can be done to :
1.... (5 Replies)
Discussion started by: devina
7. Shell Programming and Scripting
I have a similar problem.
Please can anyone help me with a shell script or a perl.
I have a flat file like this
I want to get a output like
apple ... (7 Replies)
Discussion started by: smalya
8. UNIX for Dummies Questions & Answers
Problem Overview: We have a scheduler that prints report on any of the network printer.
Problem Statement: We need to find a UNIX command that picks up either A4, legal or letter size paper form the printer.
I found out a command but it's not working on our environment.
... (3 Replies)
Discussion started by: HelpMeOUt