Search Results

Search: Posts Made By: mailme0205
1,915
Posted By mailme0205
Thanks Ahamed!
Is there any other way. I cannot use just tr to replace the newline chars with space while i read data. My source data also have some newline chars in it in each records.

Also the Source data has...
1,915
Posted By mailme0205
Read a file with n records as one big string using linux
Hello!
Is there a way i can read a file with n records as one big string using linux shell script? I have a file in the below format -

REC1
REC2
REC3
.
.
.
REC4

Record length is 3000...
2,738
Posted By mailme0205
Shell to remove a newline char from selected rows in a file.
Greetings!

Can we automate the process of removing a newline char from selected rows in a fixed width file using a shell?
Input is like

abcd1234
xyzd1234
abcd
a1b2c3d4
abcd1234
xyzd1234...
2,440
Posted By mailme0205
Remove a newline char from selected rows.
Greetings!

Can we automate the process of removing a newline char from selected rows in a fixed width file using a shell?
Input is like
abcd1234
xyzd1234
abcd
a1b2c3d4
abcd1234
xyzd1234...
Forum: Linux 02-01-2012
2,977
Posted By mailme0205
Hello! Below are the details - Input:- ...
Hello!

Below are the details -
Input:-
Record length is say 9 bytes

abcd1234@abcd1234@abcd@ xyzs1234@

We need to replace @ but only if it comes at the end of each record. Output that we...
Forum: Linux 02-01-2012
2,977
Posted By mailme0205
Linux script to remove a character in a file based on position.
Greetings,

We have a requirement where we need to loop in a fixed width file in linux and remove a character based on a position for every record. It would highly appreciate if someone can help to...
Showing results 1 to 6 of 6

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