Assuming that this file consists solely of ascii printable characters and there are no line-feed characters anywhere in the file we should be able to use "dd" to produce a file with 80 character fixed-length records with each record terminated with a line-feed. If the file is not an exact multiple of 80 bytes be sure to check the last two records very carefully.
This approach is of little value for binary files.
It can be easier to write a program in the programming language which wrote the file to create the file in a more useful format. Or use the original programming language to read back the file and convert it.
Check any syntax against your Operating System. It always helps to know what you have.
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
mr macos please bare with me i couldnt find a place to post my issue and hence m posting it here
How do you organise mailing lists in your email client?
How do you guys organise your mailing lists? I'm having a few issues with my set up:
When I subscribe to a mailing list I add a rule in the... (2 Replies)
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Hi,
I am helping my dad with his computer and he has the messiest folder organisation imaginable.
Would it be possible to create a script which moves all images not in the Pictures folder to pictures, all documents not in Documents to Documents, videos to Videos etc?
But of course... (7 Replies)
I want develop a library in solaris, I want to know where the source and header files that I coded should place at.
Thank you in advance for your comment. (0 Replies)