Search Results

Search: Posts Made By: smee
2,418
Posted By smee
Parsing with Name value pair and creating a normalized file
I have url string as follows and I need to parse the name value pair into fields /rows

event_id date time payload
1329130951 20120214 22.30.40...
20,129
Posted By smee
Incomplete last line
I am getting these files from a windows server I believe and when I open in the vi editor it says incomplete last line, I have several files and when I merge them together for loading, if the file is...
20,129
Posted By smee
Incomplete last line
I need help with appending the last line to the file only if the last line is incomplete.

I tried awk 1 filename > new_filename but it appends to every file and I only want to append to the file...
1,370
Posted By smee
Sed /awk
I have a interesting problem,


The data is of the format
1,264,sjfgd,6738,jsfg
then there are certain bad records of the format
1,265,jsfgdh
These records are not complete ,I want to...
2,443
Posted By smee
Thank you all
Thank you all for a quick reply. I will go with the SED approach
2,443
Posted By smee
Adding sequence to the file
How do I add the sequence number to the file? I have a file seperated by commas.
appusage,243,jsdgh,798
appusage,876,0989,900
.
.
appusage,82374,ajfgdh,9284

The output would be as below...
1,788
Posted By smee
Sed help with replace
phx,v3apilw2core,app-usage,05-03-2010, phx,tr(white,wavern), 2,1

I need help with the sed command to remove the text in red from the line above, including braces.

I tried the following two...
Showing results 1 to 7 of 7

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