10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have one file as:
$cat file1
abc pqr 123
def wxy 234
xyz ghi 567
and another file as
$cat file2
345
456
987
I want the output of file2 to be appended in file1. And file 1 should look like:
$cat file1
abc pqr 123 345
def wxy 234 456
xyz ghi 567 987 (6 Replies)
Discussion started by: Bhrigu
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
I want to convert a 3-column data to 3-row data using shell script. Any suggestion in this regard is highly appreciated.
Thanks. (4 Replies)
Discussion started by: sktkpl
4 Replies
3. UNIX for Advanced & Expert Users
Hi Colleagues,
I need the help in the followind.
I execute this.
select count(*) from schema.tablew
the output is this.
select count(*) from schema.table
3955
I need the followind output.
select count(*) from schema.table 3955
Thank you for you help. (8 Replies)
Discussion started by: systemoper
8 Replies
4. UNIX for Advanced & Expert Users
Hi colleagues,
I have a file in this format.
"/cccc/pppp/dddd/ggg/prueba.txt".
ERROR" THE error bbbbbbbbbb finish rows.
"/kkkk/mmmm/hhhh/jjj/ejemplo.txt".
ERROR This is other error rows.I need my file in this format.
"/cccc/pppp/dddd/ggg/prueba.txt". ERROR" THE error bbbbbbbbbb finish rows.... (3 Replies)
Discussion started by: systemoper
3 Replies
5. Shell Programming and Scripting
Hi All,
Am a Beginner to shell scripting, so please pardon my question.
Below is the file format of file a.txt
a.txt
F=3
a|b|c|d
1|2|3|4
as|as|asd|asd
Aas|as|asd|ada
In the above file format, i have record count of total no of records excluding the header file here 3 , this varies... (2 Replies)
Discussion started by: sp999
2 Replies
6. Shell Programming and Scripting
I'm new to shell programming, and am having a problem in a (Korn) shell program, which boils down to this:
The program reads a record from an input file and then uses a series of
"cut" commands to break the record into parts and assign the parts to
variables. There are no delimiters in the... (2 Replies)
Discussion started by: joroca
2 Replies
7. UNIX for Dummies Questions & Answers
Hi All,
Currently i have to write a script.
For which i need to cut a block from .txt file.
I know the specific word that starts the block and ends the block.
Can we do it in shell scripting..?
Please suggest.... (6 Replies)
Discussion started by: pank29
6 Replies
8. Solaris
I have the following requirement.
1. I have to concatenate the 10 fixed width files.
2. sort based on first 10 characters
3. after that i have remove first 10 chacters from the file.
can you please tell me how to do it.
Thanks in Advance
Samba (1 Reply)
Discussion started by: samba
1 Replies
9. Shell Programming and Scripting
Below is a description of what im trying to achieve:
Write a shell script to concatenate lists together, and output the resulting list. Do not include any argument that is a sub-list of the entire list. (The script will clean the list of any redundant items.) You must preserve the original order... (1 Reply)
Discussion started by: rfourn
1 Replies
10. Shell Programming and Scripting
Hi....can you guys help me out in this script??
Below is a text file script....called Bukom.txt and it contains these:
BUKOM 20060101 2.5 2.6 2.7 2.8 2.9 2.3 2.1
BUKOM 20060102 2.4 2.5 2.6 2.7 2.7 2.6 2.4
BUKOM 20060103 2.1 2.3 2.5 2.6 2.7 2.7 2.6
Can you guys help... (2 Replies)
Discussion started by: forevercalz
2 Replies