Search Results

Search: Posts Made By: jormung
8,679
Posted By bartus11
Try:awk...
Try:awk '/Weapon_DmgType_0=1/&&(/Weapon_Anim1=8/||/Weapon_Anim1=7/)' RS= weapon.fopro
8,679
Posted By bartus11
The problem was that Windows is using different...
The problem was that Windows is using different characters as line breaks. When you transfer the file to Unix/Linux, the file still contain the characters from Windows (^M characters in the output),...
8,679
Posted By bartus11
Can you post output of:cat -eT weapon.fopro |...
Can you post output of:cat -eT weapon.fopro | head -50
8,679
Posted By bartus11
Before executing your AWK code run this:dos2unix...
Before executing your AWK code run this:dos2unix weapon.fopro
Run it for every file that you transfer from Windows machine ;)
8,679
Posted By bartus11
Well, if you want a hint to start with, then...
Well, if you want a hint to start with, then consider this: if you run AWK like this: awk 'code' RS= filethen it will split file to records separated by empty lines, not by newline characters, so...
8,679
Posted By bartus11
To search whole record you can use // predicate,...
To search whole record you can use // predicate, like this:awk '/line3=5/' RS= file.txtCheck if it is giving proper result.
Showing results 1 to 6 of 6

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