Search Results

Search: Posts Made By: starriol
6,926
Posted By starriol
Searching for a list of strings in a file with Python
Hi guys,

I'm trying to search for several strings, which I have in a .txt file line by line, on another file.
So the idea is, take input.txt and search for each line in that file in another file,...
2,408
Posted By starriol
Hi guys! If anyone needs it, I ended up...
Hi guys!

If anyone needs it, I ended up solving this with this code:

import csv
# adjust these 3 lines
WRITE_EMPTIES = False
INFILE = "input.csv"
OUTFILE = "output.csv"
with...
2,408
Posted By starriol
Hey Cluber, thanks for this code. My knowledge...
Hey Cluber, thanks for this code.
My knowledge of awk is null, basically.
I ran it and got to this:
pgawk: script.awk:1: awk -F\; '
pgawk: script.awk:1: ^ backslash not last character on...
2,408
Posted By starriol
Consolidate several lines of a CSV file with firewall rules, in order to parse them easier?
Consolidate several lines of a CSV file with firewall rules

Hi guys.
I have a CSV file, which I created using an HTML export from a Check Point firewall policy.
Each rule is represented as...
Forum: Red Hat 01-18-2011
1,736
Posted By starriol
deleted a virtual machine with critical data under CentOS
Hi all,

I'm in a pretty messed-up situation, hope you can give me a hand.
I deleted by accident a folder containing a VMware server virtual machine, that contains most critical information. The...
Showing results 1 to 5 of 5

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