Search Results

Search: Posts Made By: digitalnirvana
2,099
Posted By digitalnirvana
Hi Don, Thanks and sorry for not responding...
Hi Don,

Thanks and sorry for not responding earlier. I've tried this out on our test Linux box (running redhat) and it's outputting a blank file.

I'll try and give you a properly formatted...
2,099
Posted By digitalnirvana
Apologies for the delayed response. While the...
Apologies for the delayed response. While the code here would work that is because we know it has 2 records at the 80th and 160th positions, in actual files there would be thousands or tens of...
2,099
Posted By digitalnirvana
Apologies, my bad. I should've uploaded the file....
Apologies, my bad. I should've uploaded the file. Attached is a masked .dat file renamed as .txt for uploading.

On opening it with notepad++ in Windows, the null characters show up as boxes. In a...
2,099
Posted By digitalnirvana
Does that code start splitting from 480th...
Does that code start splitting from 480th position i.e. 6th record and work backwards? Apologies for the stupid question but where is it matching the delimiter?

The file can be of any length, ie...
2,099
Posted By digitalnirvana
Linux shell script to insert new lines based on delimiter count
The input file is a .dat file which is delimited by null (^@ in Linux). On a windows PC it looks something like this (numbers are masked with 1).

https://i.imgur.com/nta2Gqp.jpg

The entire file...
Showing results 1 to 5 of 5

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