Search Results

Search: Posts Made By: srk409
1,430
Posted By srk409
sed -e 's: / :~:' -e 's: *:|:g' -e 's:~: / :'...
sed -e 's: / :~:' -e 's: *:|:g' -e 's:~: / :' filename


This is not giving the expected output.
1,430
Posted By srk409
Converting varied space delimited file to Pipedemilited
Hi all,

I have source file, data looks like

12345 abc def 01 / 001200 C 2000
12345 abc def 01 / 001200 C 2500
12345 abcd def 01 / 001200 C ...
1,545
Posted By srk409
This is working fine.. Thanks rdcwayx:)
This is working fine.. Thanks rdcwayx:)
1,545
Posted By srk409
Hi, Here the records are lines only. Input...
Hi,
Here the records are lines only.
Input is

99991111 #S993980 #77786666 # Sample 11 6
99991112 #S993980 #00000000 # Sample 6 4...
1,545
Posted By srk409
Sorry.. The above one in the code tag is...
Sorry..

The above one in the code tag is the expected output.
Input file contains employee data say 10000 records, now we need to insert the header(above format with system date and page number)...
1,545
Posted By srk409
Specific Header after every 30 records
Hi All,

I have got a requirement.
I have a source file, EMPFULL.txt and I need to split the data for every 30 records
and place a Typical Header as below with system and page number too.
...
881
Posted By srk409
Sorry...Its not working. It just adding...
Sorry...Its not working.

It just adding ';;;' at the end of each record.

The logic here is to merge 3 files and during concatenation when there is no data in a file for a record it should be...
881
Posted By srk409
Help in code logic for merging 3 files
Hi all,
I have a requirement to merge 3 files which has different record count.
Ex:
File1-SOUTHLANG
01;HINDI
02;TELUGU
03;ITALIAN
04;KOREAN
05;ENGLISH

File2-LANGDET
INDIA;80 ...
3,345
Posted By srk409
Its working fine....Thanks a lot:)
Its working fine....Thanks a lot:)
1,602
Posted By srk409
The above code is working fine. But in case if...
The above code is working fine.
But in case if we need to handle empty files also, then it's not working

Ex: If chr2 doesn't have data, then its not creating the file.

~Srk
3,345
Posted By srk409
Thanks zaxxon. Its working fine. Now I got few...
Thanks zaxxon. Its working fine.
Now I got few modifications in source file.

HEADER 01.10.2010 14:32:37 NAYA
TA0022
TRP512
20000001;20060612;99991231;K4;02;3...
3,345
Posted By srk409
Splitting single file into n files
Hi all,

I am new to scripting and I have a requirement
we have source file as

HEADER 01.10.2010 14:32:37 NAYA
TA0022
TA0000
20000001;20060612;99991231;K4;02;3...
Showing results 1 to 12 of 12

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