Search Results

Search: Posts Made By: timj123
1,900
Posted By timj123
Thanks!
Thanks!
1,900
Posted By timj123
Python3 subprocess troubles
After struggling with this for days now, I'm reaching out to the experts of all things linux for some help with this.

I'm trying to run the following working command (on command line) inside a...
1,786
Posted By timj123
Perl qr function usage
I'm not sure why I'm having so much trouble with this.
I think I'm really not understanding how this works.

I'm trying to store a regex in a variable for use later in a script.

Can someone...
1,339
Posted By timj123
Python etree.ElementTree findall function
Hi everyone.
I'm trying to learn python as it relates to parsing xml, and I thought I would start by trying to create an easy (or I thought would be easy) function
to match on a certain attribute...
2,060
Posted By timj123
Yup, below works great. Thanks for the input...
Yup, below works great.
Thanks for the input and suggestions.

:b::b::b::b:
2,060
Posted By timj123
If you could make 100% sure "setup..." and "DN"...
If you could make 100% sure "setup..." and "DN" will always precede "<Target" in your files, a very simple awk code could be offered.

I can confirm the above.
setup and DN will always preceded...
2,060
Posted By timj123
I think I really over thought this and wasn't...
I think I really over thought this and wasn't very clear in what my requirements were.

I originally had two scripts that worked great, but I needed two cron jobs to do and used more disk space...
2,060
Posted By timj123
Thanks for the reply. Sorry if I wasn't very...
Thanks for the reply.
Sorry if I wasn't very clear.

I'm trying to gunzip many files and run them through a sed script for further processing before they get written to a file.

The 1st script...
2,060
Posted By timj123
Gunzip and edit many files
Experts - I have an requirement to gunzip and edit many files in a pair of directories.

I have two scripts that work great when run separately, but I'm having problems
combining the two.

The...
2,594
Posted By timj123
Okay. Thanks!
Okay. Thanks!
2,594
Posted By timj123
Thanks much, I'm hoping with your input I'll get...
Thanks much, I'm hoping with your input I'll get this figured out yet!

Thanks again!
2,594
Posted By timj123
That's gotten me a lot further along then you can...
That's gotten me a lot further along then you can imagine.
What's the syntax of the command you ran, so that I can reproduce on my end?
2,594
Posted By timj123
It's a very long string, between a pair of xml...
It's a very long string, between a pair of xml tags.

Here it is w/o the tags:


Any idea's what kind of data this is and how to convert back to excel?
2,594
Posted By timj123
Python soap and string to .xlsx conversion
Hi experts -
I'm relatively new to python, but I have an requirement to automate getting a file from a WebLib server using an API.

The file I'm requesting from this sever is an excel spreadsheet...
1,294
Posted By timj123
Thank you, very much! I was really confused...
Thank you, very much!

I was really confused on:
(?=:|$)

Your additional comments on this really cleared it up for me.:b:
1,294
Posted By timj123
Perl REGEX help
Experts -
I found a script on one of the servers that I work on and I need help understanding
one of the lines.

I know what the script does, but I'm having a hard time understanding the...
1,438
Posted By timj123
I think you need a blank line after Content-Type
I think you need a blank line after Content-Type
860
Posted By timj123
Perl Oracle DBI through Apache problem
Experts,
I've been struggling with making a Perl Oracle DBI script to work through my Apache webserver.
Mysql DBI scripts work fine, but I'm having issue's with Oracle.
The oracle script works on...
923
Posted By timj123
Awesome! Thanks much.
Awesome!

Thanks much.
923
Posted By timj123
Perl multiple qr assigned to variable
Experts,
I'm having problems with the code below.
I'm trying to test $var2 for two different regexs.
I thought it could be done per below, but I'm getting the following error when running.
$...
1,735
Posted By timj123
Perl hash of hashes anonymous array
Hello experts. I'm having problems with a snippet of code.
I was hoping to get help/advice to correct.
A file that this script parses has changed to the point where
I can no longer use a scalar,...
2,897
Posted By timj123
Thanks much, Aia! I appreciate you looking at...
Thanks much, Aia! I appreciate you looking at this for me!
2,897
Posted By timj123
Yes and Thanks. I'm trying to remove sections...
Yes and Thanks.
I'm trying to remove sections of a file based on an input of values.

Here is a sample of the file I'm trying to "edit"

section /total/SMS-MT-FSM-DEL-REP045
country: IN...
2,897
Posted By timj123
Will this work with a range? %hash=(val1 =>...
Will this work with a range?

%hash=(val1 => 1, val2 => 1, val3 => 1, val6 => 1, ); # hash with unwanted items as keys and values that evaluate as true
while (<>) {
print if (/$hash{$_}/ .....
1,259
Posted By timj123
Thanks Aia! I was stumped, big time. I...
Thanks Aia!
I was stumped, big time. I appreciate your time looking into this for me.
I also wanted to tell you that I learn a lot from your posts on this forum.
Showing results 1 to 25 of 116

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