Questions tagged [parser]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
7 votes
1 answer
8k views

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 ...
Iago B.'s user avatar
  • 71
6 votes
2 answers
7k views

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 ...
Angelo's user avatar
  • 1,073
5 votes
1 answer
18k views

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 ...
dwwilson66's user avatar
  • 1,749
2 votes
1 answer
1k views

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 ...
dwwilson66's user avatar
  • 1,749
2 votes
2 answers
16k views

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 ...
tobe1424's user avatar
2 votes
0 answers
700 views

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 ...
Piotr Szatkowski's user avatar
2 votes
2 answers
3k views

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's user avatar
  • 21
1 vote
3 answers
3k views

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 ...
GPP's user avatar
  • 113
1 vote
1 answer
2k views

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's user avatar
1 vote
0 answers
468 views

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 ...
user3891309's user avatar
0 votes
2 answers
922 views

Split text at last instance of character (retain left hand side)

I have hierarchy path values in column A of an Excel spreadsheet: FLEET FLEET \ AIR SYSTEM FLEET \ AIR SYSTEM \ COMPRESSOR - DRYER FLEET \ AIR SYSTEM \ VALVES FLEET \ AIR SYSTEM \ RESERVOIRS FLEET \ ...
User1974's user avatar
  • 137
0 votes
1 answer
194 views

Hierarchy path: Find orphans (children without parents)

I have hierarchy path values: FLEET FLEET \ AIR SYSTEM FLEET \ AIR SYSTEM \ COMPRESSOR - DRYER FLEET \ AIR SYSTEM \ VALVES FLEET \ AIR SYSTEM \ RESERVOIRS FLEET \ AIR SYSTEM \ HOSES - LINES - ...
User1974's user avatar
  • 137
0 votes
1 answer
7k views

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 `...
user avatar
0 votes
1 answer
199 views

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 ...
steve's user avatar
  • 622
0 votes
2 answers
110 views

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's user avatar
  • 13
0 votes
1 answer
215 views

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 ...
Liron Chen's user avatar
0 votes
1 answer
364 views

filename extract and formatting

I have a lot of files in a folder \Testing, I'm trying to take the file name and format it inside the text file to a certain way. Example would be 111005000_10312019.pdf inside folder "Testing&...
user1358005's user avatar
0 votes
1 answer
538 views

SYSLOG-NG: Sending same log to two different index in elasticsearch

I'm trying to send the same log flow to two different elasticsearch indexes, because of users with different roles each index. I use a file for destination too. Here is a sample: 2021-02-12T14:00:00+...
Nand0san's user avatar
  • 101
0 votes
0 answers
100 views

XML parser error when running a saxonb-xslt process

I am processing an XML document with saxonb-xslt, the command look like so: saxonb-xslt -s:Transform.xsl -xsl:Transform.xsl -xi:on -ext:on and I get this error: Error The XML parser reported ...
mistyped's user avatar
0 votes
0 answers
156 views

How to insert a fragment of web page into Excel parsed to column/rows?

I'm selecting a fragment of a page, like part of a right column with suggestion links on a youtube page. I want it with pictures come to sheet in sorted order. But Excel says, that "The data you'...
WebComer's user avatar
  • 149
0 votes
0 answers
40 views

translate a webpage and declutter at the same time? how?

Translate: google translate, either with bookmarklet or chrome extension declutter: Instapaper text bookmarklet. They used to work together sequentially, but recently Instapaper changed their ...
Shawn Ma's user avatar
0 votes
0 answers
131 views

AtomicParsley - Get STCO Entries only

So I want AtomicParsley to list all of the STCO entries instead of showing something like this Atom ftyp @ 0 of size: 32, ends @ 32 Atom free @ 32 of size: 8, ends @ 40 Atom mdat @ 40 of size: ...
Dinindu Perera's user avatar
0 votes
0 answers
447 views

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....
Janaka Bandara's user avatar
-1 votes
3 answers
368 views

Sorting a file list in WIndows

Got a list of color photos from Hatton1.jpg to Hatton72.jpg each photo has an identical black and white one named Hatton1-2.jpg through Hatton72-2.jpg Is there a way to strip out the -2 files to a ...
GeoffMarbella's user avatar