Search Results

Search: Posts Made By: Winsarc
3,436
Posted By Winsarc
both the sed and awk solutions work great for...
both the sed and awk solutions work great for combining the lines, but it also combined some of my other data.

Is there a way to only run the sed command on lines that start with "tagid" ?

This...
3,436
Posted By Winsarc
Sed - merge lines bw 2 specific characters
Hi, I have a bash script and I am looking for a command that will merge specific lines together.

Sample Data:

registration time = 1300890272
Id = 1
setd = 0
tagunt = 26
tagId=6, length=8,...
2,911
Posted By Winsarc
That worked perfect! Thanks again!
That worked perfect! Thanks again!
2,911
Posted By Winsarc
That got it to stop after it pulled the info...
That got it to stop after it pulled the info after the correct IP, but I am still getting data above it from previous fields. See below. I need to cut out all the data above the IP address.
2,911
Posted By Winsarc
This is good but it needs to stop printing once...
This is good but it needs to stop printing once it hits the next IP=

That way im only pullling values for that particular IP rather than all the tagids in the whole log

Thanks so much for your...
2,911
Posted By Winsarc
Script for Parsing Log File
Working on a script that inputs an IP, parses and outputs to another file.

A Sample of the log is as follows:


I need the script to be able to input IP and print the data in an output file in...
Showing results 1 to 6 of 6

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