Search Results

Search: Posts Made By: madrazzii
6,189
Posted By madrazzii
Thank you all for your replies. i will try them...
Thank you all for your replies. i will try them and let you know. thanks again

---------- Post updated at 11:58 AM ---------- Previous update was at 10:09 AM ----------

i got it without the...
6,189
Posted By madrazzii
The file was received from a client and they said...
The file was received from a client and they said it was from z/OS system. i tried the code but it says 'tr - extra operand' and the output file is 0 byte

---------- Post updated at 05:21 PM...
6,189
Posted By madrazzii
Works perfect. thanks again ---------- Post...
Works perfect. thanks again

---------- Post updated at 04:54 PM ---------- Previous update was at 04:43 PM ----------

sorry to bother again but when i use ls command to list it the file is...
6,189
Posted By madrazzii
Thank you. i did the first method and changed a...
Thank you. i did the first method and changed a little

awk '{print > "file.txt" susbtr($0,length-2) }' RAW

i did length -2 to get the TO, P1 etc appended to output files and also added ..txt...
6,189
Posted By madrazzii
another question i had...i have a file without a...
another question i had...i have a file without a file extension but can be opened in notepad. The file is 300 mb in size. it basically has multiple data sets in one file and i want to extract each...
6,189
Posted By madrazzii
Thank you both. I was using to separate...
Thank you both.

I was using to separate commands to do this
sed '/procedures/d' Edit.TXT > codes.txt

grep "procedures" > Procedures.txt

But will use the awl and now

Thanks

J
6,189
Posted By madrazzii
A command to split a file into two based on a string
Hello

What command can i use to split a tab delimited txt file into two files base on the occurrence of a string

my file name is EDIT.txt

The content of file is below
XX 1234 PROCEDURES...
2,987
Posted By madrazzii
thanks rudi. this works for me
thanks rudi. this works for me
2,987
Posted By madrazzii
thanks Rudi. i tried your command and it removes...
thanks Rudi. i tried your command and it removes the carriage return. i view the file in Notepad++ and there is no carriage return.

but i have a delphi utility that loads the text file and it...
2,987
Posted By madrazzii
Thank you. But i still get my target text file...
Thank you. But i still get my target text file with the multiple rows from source file in one row in target file. i checked to see if the word wrap option is disabled and i doesn't make a difference.
2,987
Posted By madrazzii
Command to extract all columns except the last few from a txt file
hello,

i have publicly available txt file with little less than 300000 rows. i want to extract from column 1 to column 218 and save it in another text file. i use the cut command but the file is...
Showing results 1 to 11 of 11

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