Timeline for How can I use sed to chain append lines from a text file, add it as a suffix to the text on the same lines numbers on another file, and so on?
Current License: CC BY-SA 4.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| 15 hours ago | answer | added | pileofrogs | timeline score: 0 | |
| 15 hours ago | comment | added | pileofrogs | Your fourth entry makes the way you choose the title & text more confusing. At first I thought it was "everything except the top level domain" (left most part of the hostname) now it looks like "highest level domain except for top" (2nd from the right most part of the hostname). | |
| 16 hours ago | history | edited | shrykullgod | CC BY-SA 4.0 |
I updated site3.com to site3.net (typo)
|
| 17 hours ago | history | edited | shrykullgod | CC BY-SA 4.0 |
I updated site3.com to site3.net (typo)
|
| 17 hours ago | history | edited | shrykullgod | CC BY-SA 4.0 |
I updated site3.com to site3.net (typo)
|
| 17 hours ago | answer | added | markp-fuso | timeline score: 3 | |
| 18 hours ago | comment | added | markp-fuso |
all 3 input lines contain domains with 2 dot delimited strings (eg, site.com); in your real world data can the domain contain more than 2 such strings (eg, a.nother.site.com)? can your real world data include ip addresses and/or ports (eg, 5.6.7.8, 4.5.6.7:260)? if any of these are possible then please update the question to a) show such examples and b) explain what should be assigned to the title and text attributes in the expected result
|
|
| 18 hours ago | comment | added | markp-fuso |
the 3rd input line has a domain of site3.net but the expected output has a xmlUrl entry with a domain of site3.com (.net vs .com); if that's not a typo then please update the question with an explanation on when/how the domain should be modified
|
|
| 18 hours ago | history | edited | Toby Speight | CC BY-SA 4.0 |
Added prettify hints
|
| 19 hours ago | answer | added | canupseq | timeline score: 2 | |
| 22 hours ago | history | became hot network question | |||
| yesterday | answer | added | Gilles Quénot | timeline score: 4 | |
| yesterday | answer | added | Stéphane Chazelas | timeline score: 7 | |
| yesterday | comment | added | Hauke Laging |
It would help if you could provide the easiest way to reproduce the problem. This works for me: echo 'xmlUrl="https://site.com/category/feed/"' | sed 's/.*/<outline type="rss" & version="RSS" /' | sed 's/[ \t]*$/\/>/'
|
|
| yesterday | history | edited | shrykullgod | CC BY-SA 4.0 |
added 443 characters in body
|
| yesterday | history | asked | shrykullgod | CC BY-SA 4.0 |