Questions tagged [parser]
24 questions
8
votes
1 answer
Is the ".sha256" file format formally defined somewhere? How should it be parsed?
I see a bunch of FOSS projects which have ".sha256" files. They look something like this:
dsdfdfdsffdfsdfdsfdsfdsfdsfdsfds23r2ewrefdefdsfdsgfdsgffgfkgdfgg *meow.exe
Asdfdfdsffdfsdfdsfdsfdsfdsfdsfds23r2ewrefdefdsfdsgfdsgffgfkgdfg3 …
Iago B.
- 81
- 1
- 1
- 2
6
votes
2 answers
How do I disable terminal control escape sequences in Linux?
I am writing software that interacts with an embedded device running a version of busybox Linux. Basically, I am just sending commands to the device and parsing the output from the commands . The commands are executed either on the linux shell…
Angelo
- 1,203
5
votes
1 answer
How can I use PowerShell to parse filenames and rename them?
I've got a project analyzing logfiles. Someone, in their infinite wisdom, is naming the logfiles MM-DD-YYYY-HH-MM.LOG (e.g., 10-31-2012-18-00.LOG for 6:00pm on October 31, 2012).
My first order of business is to create something significantly more…
dwwilson66
- 1,849
3
votes
2 answers
Forward Windows system Event logs to a Linux Syslog Server with no agent
We have a SCOM 2012 server.
We have SNARE agents for PCI compliance, but now we want to save money by gathering all events for all Windows servers using its native features.
We also have a centralized Linux server running SYSLOG that will aggregate…
tobe1424
- 43
2
votes
2 answers
Replace all, "But" Regex Notepad++
I have a text file with lines looking like the one below :
('8510851205', 'needthishere', '', ''),
I need it to remove everything and leave only needthishere on every single line. How would I do this :?
Lottex
- 21
2
votes
1 answer
Using PowerShell to replace individual bytes in a document
We're in the process of converting an HTML help system to a SharePoint document library. We have about 3000 individual HTML documents that we're converting to Word. About 20% of the documents include hyperlinks to related documents, and they're all…
dwwilson66
- 1,849
2
votes
0 answers
Node.js serialport readline parser - response devided to each sign in new line
I would need some help in resolving a node.js problem with serialport response on one computer with Ubuntu 18.04 64-bit.
On the beginning I can confirm that the hardware which I have connected answers correctly in for example minicom. On an ARM…
1
vote
0 answers
XML::Parser Perl module is not installed
Installation was successful and went well in my droplet (using DigitalOcean) but when I view the page that requires XML::Parser I still got this error message:
Internal Server Error
XML::Parser Perl module is not installed
if I run dpkg -l | grep…
user3891309
- 11
1
vote
1 answer
Parse url in windows script
In a windows bat file how do I parse this url
https://vimeo.com/library/courses/angular-series
to get the text 'angular-series' without the single quotes of course
Thanks in advance for your time
Hamza Ahmed
- 529
1
vote
3 answers
Parsing a (complicated) URL
This is a tricky one that requires a level of Excel function mastery I don't currently have. I have been studying Excel's site for way too long and I'm still not progressing.
I am trying to take a complicated URL…
GPP
- 113
0
votes
0 answers
Firefox "not well formed" error on Gmail mobile site's search page
I use the Gmail Mobile site (not the smartphone version, but the old, lightweight, feature-phone-compatible one) on my desktop Firefox browser, via the set of URLs starting with https://mail.google.com/mail/u/0/x/.
Recently (about 4-5 days ago), the…
Janaka Bandara
- 290
0
votes
1 answer
Error while installing `XML::Parser` Perl module
I'm trying to install some Perl module, but I got a strange error:
sudo cpanm XML::Parser
cp Parser/Encodings/iso-8859-5.enc blib/lib/XML/Parser/Encodings/iso-8859-5.enc
make[1]: Entering directory…
user268365
0
votes
1 answer
apache file requests and parsing
I have just run into an interesting situation at work that shot to hell my understanding of how apache2 executes php files.
I was under the impression that apache2 would determine the correct file type and run it through the correct file parser.…
steve
- 622
0
votes
2 answers
How to do create a thumbnail of many sites?
I've got a list of 2500 websites and need to grab a little screenshot of them - to create a thumbnail
How do I do that? Well I could try to parse the sites.
Either with Perl or Python
unleash
- 13
0
votes
1 answer
Why does changing the executable in a powershell line cause it to not work?
No doubt I have done something very simple wrong but I cant figure it out. I'm no expert, I'm writing my dissertation and am using .bat files with a series of PowerShell instructions to convert and move files around.
An existing file that works…
Liron Chen
- 25