Search Results

Search: Posts Made By: harleyvrodred
2,380
Posted By harleyvrodred
I was looking to reduce the script as much as...
I was looking to reduce the script as much as possible

I'm looking at your comments now and trying just that, thanks

Okay, I cannot use sub(), match(), and gsub() as they are not supported on...
2,380
Posted By harleyvrodred
In the case you mentioned, I'd prefer to see ...
In the case you mentioned, I'd prefer to see

{"Electronics PID Control Value" 1667 -}


I tried adding a few more entries to the example, namely Cabinet Temp - would also have the same fields...
2,380
Posted By harleyvrodred
Nice examples. I took this and made a command I...
Nice examples. I took this and made a command I could put into the clipboard and paste into a telnet window. Because I want to select-cut the result into the clipboard I'm wrapping the output onto...
2,380
Posted By harleyvrodred
Apologize for the inconsistencies... This...
Apologize for the inconsistencies...

This does indeed find every instance and print them out. Nice job!

What I need is for it to find the last instance and return that last one in a string...
2,380
Posted By harleyvrodred
Example file
<?xml version="1.0" encoding="UTF-8"?>
...
2,380
Posted By harleyvrodred
String parsing help across multiple UNIX platforms
Need to parse XML like strings from a file.

Using `egrep -A 1 "Panel Temp" "$2" | tail -2` I get the following string:

<parameter name="Panel Temp" unit="0.1 C"> <value size="1"...
Showing results 1 to 6 of 6

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