Search Results

Search: Posts Made By: kolesunil
2,557
Posted By kolesunil
I tried using Jean-Pierre's solution and it...
I tried using Jean-Pierre's solution and it worked for me. Thanks everyone.
2,557
Posted By kolesunil
Chakrapani, You were very close, this is...
Chakrapani,

You were very close, this is what got after I ran a script.

number|GGS_LOG_SEQ|NULL
number|GGS_ORACREC_SCN|NULL
number|GGS_LOG_POS|NULL
varchar2|GGS_COMMIT_CHAR|NULL...
2,557
Posted By kolesunil
Keep lines with specific words up in an order
I hava a file with following data:

number|CREDIT_ID|NULL
date|SYS_CREATION_DATE|NULL
varchar2|GGS_COMMIT_CHAR|NULL
varchar2|GGS_OP_TYPE|NULL
number|GGS_SCN|NULL|
number|GGS_LOG_SEQ|NULL...
2
1,560
Posted By kolesunil
Unix
I have a data in a file called data1.dat like this:
70815|1418|V|F70816|1418|V|M
70817|1418|V|M70818|1418|V|F
70819|1418|V|M

I want the output like this:
70815|1418|V|F
70816|1418|V|M...
2,104
Posted By kolesunil
Separator in data itself
Following is the CSV file, separated by ","
100,sunil,$1,000,mumbai
101,amit,$10,000,mumbai
102,sailesh,$10,000,00,mumbai

I want the following output:
100,sunil,$1000,mumbai...
2,344
Posted By kolesunil
I have prepared the shell script. Thanks. ...
I have prepared the shell script. Thanks.

Pls see the shell script:

TestValid()
{
while read -r line
do
echo ${line} | awk -F"|" '{
if (NF == sep_num)
printf("%s\n", $0) >>...
1,795
Posted By kolesunil
"|" separated file validations
Hi,

I have a file with "|" separated fields. If the line doesn't contain n(say 9) "|" then put this line in a file called invalid_file.txt. If it does put this row in a file called valid_file.txt....
2,344
Posted By kolesunil
Validation of character separated lines in a file
Hi,

I have a file with "|" separated fields. If the line doesn't contain n "|" (say 2), then put this line in a file called invalid_file.txt. If it does put this row in a file called...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 07:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy