Lucius Chiaraviglio
Joined 12 February 2024
→Keyboard Layout Lab: Starting on non-octave tunings, so made a page for these |
Add Editing Tips, starting with Using "sed" to linkify intervals |
||
| Line 4: | Line 4: | ||
Added: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 10:14, 12 February 2024 (UTC) | Added: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 10:14, 12 February 2024 (UTC) | ||
== Editing Tips == | |||
I edited the Intervals table for [[84edo]] to add links to the intervals. Since 84edo has a LOT of intervals even only considering the simplest ones, and the table 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 ("84EDO intervals.txt") 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 ("84EDOintervals.txt") back into the article section. First, here is the full "sed" command: | |||
<code>sed -E "s#[0-9]*/[0-9]*#\[\[&\]\]#g" 84EDO\ intervals.txt > 84EDOintervals.txt</code> | |||
Substitute the file names as appropriate when you use this (and probably best avoid having a file name that contains a space like in my example above). | |||
Added: [[User:Lucius Chiaraviglio|Lucius Chiaraviglio]] ([[User talk:Lucius Chiaraviglio|talk]]) 07:20, 29 October 2025 (UTC) | |||
== Keyboard Layout Lab == | == Keyboard Layout Lab == | ||