Dan Jacobson · Unix & Linux Stack Exchange

Questions tagged [html]

HyperText Markup Language (HTML) is the main markup language for displaying web pages and other information that can be displayed in a web browser.

332 questions

Score of 2

1 answer

111 views

How to get <table border="1"> in pandoc?

Sure, to put borders on HTML tables in pandoc, I could just do $ pandoc file.docx | perl -pwle 's/<table/$& border="1"/' | w3m -dump -T text/html But how might I instead ...

  • reputation score 946

Score of 0

1 answer

104 views

Convert html reference to man page (helpPC reference)

I found HelpPC by David Jurgens very helpful when I need to check description of assembly instruction, it is brief and clear comparing to the heavy intel's manuals or Felix cloutier html version. The ...

  • reputation score 3

Score of 3

2 answers

249 views

Embedded special characters skewing sed output

The Issue I've been parsing a file with sed trying to tweeze out the desired data. This has worked fine for most lines in the file but there appears to be some embedded special characters that are ...

  • reputation score 33

Score of -2

4 answers

328 views

How to strip data from html using awk?

I'd like to retrieve data from here https://www.sbs.com.au/ondemand/tv-series/la-unidad/season-1. I wget the page to file. The data I seek is in the form of (samples): https://www.sbs.com.au/ondemand/...

  • reputation score 99

Score of 1

2 answers

518 views

how can I select element using xmllint command?

I am trying to select "Bvlgari omnia crystalline'perfume' 100ml" by making use of xmllint from the codes below. But As I'm newbie in the field of linux,It is insanely difficult to figure out ...

  • reputation score 21

Score of 0

1 answer

173 views

Wget download wrong content

I'm trying to download a specific sitemap.xml (https://www.irna.ir/sitemap/all/sitemap.xml). The problem is that when you load the specific sitemap.xml for a few seconds one white page with a header ...

  • reputation score 5

Score of 3

2 answers

703 views

CSS not updating on a `http.server` website

I have a website using the Python http.server module. I wanted 2 users to work on the same files (HTML, CSS, JS) so I set the chmod tag to 777. The problem is that the CSS content now only updates ...

  • reputation score 41

Score of 4

4 answers

877 views

Convert pipe delimited column data to HTML table format for email

I am trying to convert delimited data format to html column table output for email printing and I am unsure how to use pipe delimiter as a separater for HTML tabular formatting. Below is what I could ...

  • reputation score 515

Score of 0

1 answer

95 views

Use wget to retrieve Supplemental Data from Science dot org

I'm building a pipeline in Snakemake to analyse some data. One of the data files I'm using is provided as supplemental data as part of this publication. The paper is behind a paywall, but I've ...

  • reputation score 345

Score of 1

3 answers

221 views

sed: To match a newline and spaces

I have a following file: <head> <title>this is a title</title> <style> here goes a style sheet </style> </head> I need to strip the <title> element ...

  • reputation score 1417

Score of 0

1 answer

1330 views

curl webpage and convert to markdown

having a dilemma with downloading webpages and converting them to markdown, for example: F=$(curl -O --silent https://www.guru3d.com/story/msi-teases-spatium-m560-ssd-with-innovative-nonmetallic-vc-...

user avatar

anon

Score of 1

1 answer

125 views

How can I include any content in the sed replace command? [duplicate]

I want to be able to handle any type of content stored into the bash variable ${CONTENT}, to be used as sed replacement text into another content, no matter if there are quotation marks, single quotes ...

  • reputation score 137


Read the original on unix.stackexchange.com ↗