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.
326 questions
0votes
1answer
52views
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 ...
2votes
2answers
145views
CSS not updating on a `http.server` website
I have a website using the Python http.server module and it was working great. Earlier this day I wanted 2 users to work on the same files (HTML, CSS, JS) so I set the chmod tag to 777. The problem is ...
3votes
4answers
580views
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 ...
0votes
2answers
89views
BSD sed/awk moving portion of line to line above (switching attribute in HTML file)
My situation is simple : I have an HTML file with several lines containing only the indented <section> block tag, each line followed by an (also indented) <h3 id="YYYY">...</...
0votes
1answer
26views
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 ...
1vote
3answers
112views
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 ...
0votes
1answer
433views
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-...
1vote
1answer
73views
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 ...
0votes
1answer
1kviews
Is there a tool that preserves CSS formatting during HTML to PDF conversion?
I tried the options in Is there a script or tool that converts HTML to PDF? with command: pandoc documentation.html -o test.pdf --pdf-engine=xelatex but unfortunately they do not preserve the CSS ...
0votes
3answers
92views
Edit inside an HTML tag with ed(1)
Consider my humble hello.html file, edited with mighty ed: $ ed hello.html 28 ,p <title>Hello world!</title> What's your general approach to edit inside that title HTML tag (bonus if you ...
0votes
2answers
952views
How can I fix a .tar.gz being downloaded as html?
I'm trying to download this file https://www.apache.org/dyn/closer.cgi/hadoop/common/hadoop-3.3.6/hadoop-3.3.6.tar.gz with wget. When I try to unpack it with tar I get the following error: gzip: stdin:...
0votes
1answer
255views
HTML telnet howto do
I have this code: <a href="telnet://localhost:33330"> <button>MUD</button> </a> <a href="telnet://localhost:24"> <button>Renegade BBS</button&...
1vote
0answers
350views
webpage / html as wallpaper
I tried komorebi which has this feature, but it changes the right click menu. I need something like lively wallpapers, which I use on windows, which doesnt change anything other than wallpaper, I'm ...
1vote
3answers
185views
Command or script to delete all text in between two flags (html tags), in all files in a directory?
I have a directory full of html files that all have certain tags that I want deleted. For instance, in all files I have <p class="message"> </p> that I want gone, but the text ...
0votes
0answers
748views
Unix : How to convert HTML output from Shell script
How to display the sql query output to HTML table format output. am having shell script code to display output as html table format. and input is taken form sql query but am not getting the proper ...