10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have requirement in a file, i have multiple rows.
Input file rows
I need my output file should be as mentioned below. Last field should split for... (4 Replies)
Discussion started by: kotra
2. UNIX for Dummies Questions & Answers
I have a space delimited text file with multiple columns 102 columns. I want to break it up into 100 files labelled 1.txt through 100.txt (n.txt). Each text file will contain the first two columns and in addition the nth column (that corresponds to n.txt). The third file will contain the... (1 Reply)
Discussion started by: evelibertine
3. Shell Programming and Scripting
I have the following input file
32895901-d17f-414c-ac93-3e7e0f5ec240 AND @GDF_INPUT
73b129e1-1fa9-4c0d-b95b-4682e5389612 AUS @GDF_INPUT
40f82e88-d1ff-4ce2-9b8e-d827ddb39447 BEL @GDF_INPUT
36e9c3f1-042a-43a4-a80e-4a3bc2513d01 BGR @GDF_INPUT
I want to split column 3 into two columns:... (1 Reply)
Discussion started by: ramky79
4. Shell Programming and Scripting
I have a huge file with a single line.
But I want to break that line into lines of with each line having five columns.
My file is like this:
I want it like this:
code:... (1 Reply)
Discussion started by: rajsharma
5. Shell Programming and Scripting
I have a file which looks like this:
/* ----------------- EDW$MOC139_R_NNA_BR_SUM_FACT2 ----------------- */
insert_job: EDW$MOC139_R_NNA_BR_SUM_FACT2 job_type: c
command: /home/btchproc/load_process/batch_files/batch_nna_brn_split_sum_fact2.sh m
#owner:... (29 Replies)
Discussion started by: Gangadhar Reddy
6. Shell Programming and Scripting
I've been trying to figure this out for a while but I'm completely stumped. I have files with data in rows and I need to convert the data to columns. Each record contains four rows with a "field name: value" pair. I would like to convert it to four columns with the field names as column headers... (5 Replies)
Discussion started by: happy_ee
7. Shell Programming and Scripting
I have to search in multiple columns for multiple values, if the match is found then print the values as below.
if then print "Invalid AB in $6"
if then print "Invalid CD in... (6 Replies)
Discussion started by: gsjdrr
8. Shell Programming and Scripting
I have the following input data in 2 columns.
SNo N (1 Reply)
Discussion started by: ks_reddy
9. Shell Programming and Scripting
I need to do some thing like "find and insert before that " in a file which contains many records. This will be clear with the following example.
The original data record should be some thing like this
60119827 RTMS_LOCATION_CDR INSTANT_POSITION_QUERY 1236574686123083rtmssrv7 ... (8 Replies)
Discussion started by: aemunathan
10. Shell Programming and Scripting
I have seen many posts to transpose rows into columns, but not for multiple rows to columns..so please help me how to do this..
I have around 1000 rows and 1000 columns, i want to transpose it..
A1 A2 A3
B1 B2 B3
C1 C2 C3
D1 D2 D3
I want output to be like
A1 B1 C1 D1
A2 B2 C2 D2... (5 Replies)
Discussion started by: ganeshss