Lucius Chiaraviglio
Joined 12 February 2024
→Editing Tips: Trying again, this time on 55edo, with debugged(?) version |
→Editing Tips: Updated for latest test = 171edo intervals |
||
| Line 7: | Line 7: | ||
== Editing Tips == | == Editing Tips == | ||
I edited the Intervals table for [[84edo]] to add links to the intervals. Since | I edited the Intervals table for [[84edo]], [[55edo]], and [[171edo]] to add links to the intervals. Since these have a LOT of intervals even only considering the simplest ones, and the tables even had some fairly complicated intervals, I did not want to do this by hand. Instead, I copied the Wiki source for the section to a text file ("171EDOintervals.txt" in the latest example) on my computer (running MacOS, but in principle this should work on Linux or Windows Subsystem for Linux), used the "sed" command on it to do the actual editing (took less time to learn to use "sed" than to do all that by hand), and then copied the output file ("171EDOintervals.new.txt" in the latest example) back into the article section. First, here is the full "sed" command: | ||
<code>sed -E "s#[0-9] | <code>sed -E "s#[0-9]+/[0-9]+#\[\[&\]\]#g" 171EDOintervals.txt > 171EDOintervals.new.txt</code> | ||
And it seems to have done the right thing. | |||
Now I just need to figure out how to put it into the comments of what I did in a way that doesn't hose the backslashes (preferably without having to go nuts repeating backslashes) and break on the "&". | |||
Added: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:20, 29 October 2025 (UTC)<br> | Added: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:20, 29 October 2025 (UTC)<br> | ||
Last modified: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 08: | Last modified: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 08:59, 23 November 2025 (UTC) | ||
== Keyboard Layout Lab == | == Keyboard Layout Lab == | ||