File tree 17 files changed +144
-22
lines changed
17 files changed +144
-22
lines changed Original file line number Diff line number Diff line change 32
32
}
33
33
html . classList . remove ( 'sidebar-visible' ) ;
34
34
html . classList . add ( "sidebar-" + sidebar ) ;
35
- </ script > < nav id =sidebar class =sidebar aria-label ="Table of contents "> < div class =sidebar-scrollbox > < ol class =chapter > < li class ="chapter-item expanded affix "> < a href =preface.html > Preface</ a > < li class ="chapter-item expanded "> < a href =cat-tac.html > < strong aria-hidden =true > 1.</ strong > cat and tac</ a > < li class ="chapter-item expanded "> < a href =head-tail.html > < strong aria-hidden =true > 2.</ strong > head and tail</ a > < li class ="chapter-item expanded "> < a href =tr.html > < strong aria-hidden =true > 3.</ strong > tr</ a > < li class ="chapter-item expanded "> < a href =cut.html > < strong aria-hidden =true > 4.</ strong > cut</ a > < li class ="chapter-item expanded "> < a href =seq.html > < strong aria-hidden =true > 5.</ strong > seq</ a > < li class ="chapter-item expanded "> < a href =shuf.html > < strong aria-hidden =true > 6.</ strong > shuf</ a > < li class ="chapter-item expanded "> < a href =paste.html > < strong aria-hidden =true > 7.</ strong > paste</ a > < li class ="chapter-item expanded "> < a href =pr.html > < strong aria-hidden =true > 8.</ strong > pr</ a > < li class ="chapter-item expanded "> < a href =fold-fmt.html > < strong aria-hidden =true > 9.</ strong > fold and fmt</ a > < li class ="chapter-item expanded "> < a href =sort.html > < strong aria-hidden =true > 10.</ strong > sort</ a > < li class ="chapter-item expanded "> < a href =uniq.html > < strong aria-hidden =true > 11.</ strong > uniq</ a > </ li > < br > < hr > < li class ="chapter-item expanded "> < i id =git-repository-button class ="fa fa-github "> </ i > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils > Source code</ a > < li class ="chapter-item expanded "> < i id =home-button class ="fa fa-home "> </ i > < a href =https://learnbyexample.github.io/ > My Blog</ a > < li class ="chapter-item expanded "> < i id =book-button class ="fa fa-book "> </ i > < a href =https://learnbyexample.github.io/books/ > My Books</ a > </ ol > </ div > < div id =sidebar-resize-handle class =sidebar-resize-handle > </ div > </ nav > < div id =page-wrapper class =page-wrapper > < div class =page > < div id =menu-bar-hover-placeholder > </ div > < div id =menu-bar class ="menu-bar sticky bordered "> < div class =left-buttons > < button id =sidebar-toggle class =icon-button type =button title ="Toggle Table of Contents "aria-label ="Toggle Table of Contents "aria-controls =sidebar > < i class ="fa fa-bars "> </ i > </ button > < button id =theme-toggle class =icon-button type =button title ="Change theme "aria-label ="Change theme "aria-haspopup =true aria-expanded =false aria-controls =theme-list > < i class ="fa fa-paint-brush "> </ i > </ button > < ul id =theme-list class =theme-popup aria-label =Themes role =menu > < li role =none > < button role =menuitem class =theme id =light > Light (default)</ button > < li role =none > < button role =menuitem class =theme id =rust > Rust</ button > < li role =none > < button role =menuitem class =theme id =coal > Coal</ button > < li role =none > < button role =menuitem class =theme id =navy > Navy</ button > < li role =none > < button role =menuitem class =theme id =ayu > Ayu</ button > </ ul > < button id =search-toggle class =icon-button type =button title ="Search. (Shortkey: s) "aria-label ="Toggle Searchbar "aria-expanded =false aria-keyshortcuts =S aria-controls =searchbar > < i class ="fa fa-search "> </ i > </ button > </ div > < h1 class =menu-title > Command line text processing with GNU Coreutils</ h1 > < div class =right-buttons > < a href =https://learnbyexample.github.io title =Blog aria-label =Blog > < i id =home-button class ="fa fa-home "> </ i > </ a > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils title ="Git repository "aria-label ="Git repository "> < i id =git-repository-button class ="fa fa-github "> </ i > </ a > </ div > </ div > < div id =search-wrapper class =hidden > < form id =searchbar-outer class =searchbar-outer > < input type =search id =searchbar name =searchbar placeholder ="Search this book ... "aria-controls =searchresults-outer aria-describedby =searchresults-header > </ form > < div id =searchresults-outer class ="searchresults-outer hidden "> < div id =searchresults-header class =searchresults-header > </ div > < ul id =searchresults > </ ul > </ div > </ div > < script >
35
+ </ script > < nav id =sidebar class =sidebar aria-label ="Table of contents "> < div class =sidebar-scrollbox > < ol class =chapter > < li class ="chapter-item expanded affix "> < a href =preface.html > Preface</ a > < li class ="chapter-item expanded "> < a href =cat-tac.html > < strong aria-hidden =true > 1.</ strong > cat and tac</ a > < li class ="chapter-item expanded "> < a href =head-tail.html > < strong aria-hidden =true > 2.</ strong > head and tail</ a > < li class ="chapter-item expanded "> < a href =tr.html > < strong aria-hidden =true > 3.</ strong > tr</ a > < li class ="chapter-item expanded "> < a href =cut.html > < strong aria-hidden =true > 4.</ strong > cut</ a > < li class ="chapter-item expanded "> < a href =seq.html > < strong aria-hidden =true > 5.</ strong > seq</ a > < li class ="chapter-item expanded "> < a href =shuf.html > < strong aria-hidden =true > 6.</ strong > shuf</ a > < li class ="chapter-item expanded "> < a href =paste.html > < strong aria-hidden =true > 7.</ strong > paste</ a > < li class ="chapter-item expanded "> < a href =pr.html > < strong aria-hidden =true > 8.</ strong > pr</ a > < li class ="chapter-item expanded "> < a href =fold-fmt.html > < strong aria-hidden =true > 9.</ strong > fold and fmt</ a > < li class ="chapter-item expanded "> < a href =sort.html > < strong aria-hidden =true > 10.</ strong > sort</ a > < li class ="chapter-item expanded "> < a href =uniq.html > < strong aria-hidden =true > 11.</ strong > uniq</ a > < li class ="chapter-item expanded "> < a href =comm.html > < strong aria-hidden =true > 12.</ strong > comm</ a > </ li > < br > < hr > < li class ="chapter-item expanded "> < i id =git-repository-button class ="fa fa-github "> </ i > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils > Source code</ a > < li class ="chapter-item expanded "> < i id =home-button class ="fa fa-home "> </ i > < a href =https://learnbyexample.github.io/ > My Blog</ a > < li class ="chapter-item expanded "> < i id =book-button class ="fa fa-book "> </ i > < a href =https://learnbyexample.github.io/books/ > My Books</ a > </ ol > </ div > < div id =sidebar-resize-handle class =sidebar-resize-handle > </ div > </ nav > < div id =page-wrapper class =page-wrapper > < div class =page > < div id =menu-bar-hover-placeholder > </ div > < div id =menu-bar class ="menu-bar sticky bordered "> < div class =left-buttons > < button id =sidebar-toggle class =icon-button type =button title ="Toggle Table of Contents "aria-label ="Toggle Table of Contents "aria-controls =sidebar > < i class ="fa fa-bars "> </ i > </ button > < button id =theme-toggle class =icon-button type =button title ="Change theme "aria-label ="Change theme "aria-haspopup =true aria-expanded =false aria-controls =theme-list > < i class ="fa fa-paint-brush "> </ i > </ button > < ul id =theme-list class =theme-popup aria-label =Themes role =menu > < li role =none > < button role =menuitem class =theme id =light > Light (default)</ button > < li role =none > < button role =menuitem class =theme id =rust > Rust</ button > < li role =none > < button role =menuitem class =theme id =coal > Coal</ button > < li role =none > < button role =menuitem class =theme id =navy > Navy</ button > < li role =none > < button role =menuitem class =theme id =ayu > Ayu</ button > </ ul > < button id =search-toggle class =icon-button type =button title ="Search. (Shortkey: s) "aria-label ="Toggle Searchbar "aria-expanded =false aria-keyshortcuts =S aria-controls =searchbar > < i class ="fa fa-search "> </ i > </ button > </ div > < h1 class =menu-title > Command line text processing with GNU Coreutils</ h1 > < div class =right-buttons > < a href =https://learnbyexample.github.io title =Blog aria-label =Blog > < i id =home-button class ="fa fa-home "> </ i > </ a > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils title ="Git repository "aria-label ="Git repository "> < i id =git-repository-button class ="fa fa-github "> </ i > </ a > </ div > </ div > < div id =search-wrapper class =hidden > < form id =searchbar-outer class =searchbar-outer > < input type =search id =searchbar name =searchbar placeholder ="Search this book ... "aria-controls =searchresults-outer aria-describedby =searchresults-header > </ form > < div id =searchresults-outer class ="searchresults-outer hidden "> < div id =searchresults-header class =searchresults-header > </ div > < ul id =searchresults > </ ul > </ div > </ div > < script >
36
36
document . getElementById ( 'sidebar-toggle' ) . setAttribute ( 'aria-expanded' , sidebar === 'visible' ) ;
37
37
document . getElementById ( 'sidebar' ) . setAttribute ( 'aria-hidden' , sidebar !== 'visible' ) ;
38
38
Array . from ( document . querySelectorAll ( '#sidebar a' ) ) . forEach ( function ( link ) {
Original file line number Diff line number Diff line change 32
32
}
33
33
html . classList . remove ( 'sidebar-visible' ) ;
34
34
html . classList . add ( "sidebar-" + sidebar ) ;
35
- </ script > < nav id =sidebar class =sidebar aria-label ="Table of contents "> < div class =sidebar-scrollbox > < ol class =chapter > < li class ="chapter-item expanded affix "> < a href =preface.html > Preface</ a > < li class ="chapter-item expanded "> < a href =cat-tac.html class =active > < strong aria-hidden =true > 1.</ strong > cat and tac</ a > < li class ="chapter-item expanded "> < a href =head-tail.html > < strong aria-hidden =true > 2.</ strong > head and tail</ a > < li class ="chapter-item expanded "> < a href =tr.html > < strong aria-hidden =true > 3.</ strong > tr</ a > < li class ="chapter-item expanded "> < a href =cut.html > < strong aria-hidden =true > 4.</ strong > cut</ a > < li class ="chapter-item expanded "> < a href =seq.html > < strong aria-hidden =true > 5.</ strong > seq</ a > < li class ="chapter-item expanded "> < a href =shuf.html > < strong aria-hidden =true > 6.</ strong > shuf</ a > < li class ="chapter-item expanded "> < a href =paste.html > < strong aria-hidden =true > 7.</ strong > paste</ a > < li class ="chapter-item expanded "> < a href =pr.html > < strong aria-hidden =true > 8.</ strong > pr</ a > < li class ="chapter-item expanded "> < a href =fold-fmt.html > < strong aria-hidden =true > 9.</ strong > fold and fmt</ a > < li class ="chapter-item expanded "> < a href =sort.html > < strong aria-hidden =true > 10.</ strong > sort</ a > < li class ="chapter-item expanded "> < a href =uniq.html > < strong aria-hidden =true > 11.</ strong > uniq</ a > </ li > < br > < hr > < li class ="chapter-item expanded "> < i id =git-repository-button class ="fa fa-github "> </ i > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils > Source code</ a > < li class ="chapter-item expanded "> < i id =home-button class ="fa fa-home "> </ i > < a href =https://learnbyexample.github.io/ > My Blog</ a > < li class ="chapter-item expanded "> < i id =book-button class ="fa fa-book "> </ i > < a href =https://learnbyexample.github.io/books/ > My Books</ a > </ ol > </ div > < div id =sidebar-resize-handle class =sidebar-resize-handle > </ div > </ nav > < div id =page-wrapper class =page-wrapper > < div class =page > < div id =menu-bar-hover-placeholder > </ div > < div id =menu-bar class ="menu-bar sticky bordered "> < div class =left-buttons > < button id =sidebar-toggle class =icon-button type =button title ="Toggle Table of Contents "aria-label ="Toggle Table of Contents "aria-controls =sidebar > < i class ="fa fa-bars "> </ i > </ button > < button id =theme-toggle class =icon-button type =button title ="Change theme "aria-label ="Change theme "aria-haspopup =true aria-expanded =false aria-controls =theme-list > < i class ="fa fa-paint-brush "> </ i > </ button > < ul id =theme-list class =theme-popup aria-label =Themes role =menu > < li role =none > < button role =menuitem class =theme id =light > Light (default)</ button > < li role =none > < button role =menuitem class =theme id =rust > Rust</ button > < li role =none > < button role =menuitem class =theme id =coal > Coal</ button > < li role =none > < button role =menuitem class =theme id =navy > Navy</ button > < li role =none > < button role =menuitem class =theme id =ayu > Ayu</ button > </ ul > < button id =search-toggle class =icon-button type =button title ="Search. (Shortkey: s) "aria-label ="Toggle Searchbar "aria-expanded =false aria-keyshortcuts =S aria-controls =searchbar > < i class ="fa fa-search "> </ i > </ button > </ div > < h1 class =menu-title > Command line text processing with GNU Coreutils</ h1 > < div class =right-buttons > < a href =https://learnbyexample.github.io title =Blog aria-label =Blog > < i id =home-button class ="fa fa-home "> </ i > </ a > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils title ="Git repository "aria-label ="Git repository "> < i id =git-repository-button class ="fa fa-github "> </ i > </ a > </ div > </ div > < div id =search-wrapper class =hidden > < form id =searchbar-outer class =searchbar-outer > < input type =search id =searchbar name =searchbar placeholder ="Search this book ... "aria-controls =searchresults-outer aria-describedby =searchresults-header > </ form > < div id =searchresults-outer class ="searchresults-outer hidden "> < div id =searchresults-header class =searchresults-header > </ div > < ul id =searchresults > </ ul > </ div > </ div > < script >
35
+ </ script > < nav id =sidebar class =sidebar aria-label ="Table of contents "> < div class =sidebar-scrollbox > < ol class =chapter > < li class ="chapter-item expanded affix "> < a href =preface.html > Preface</ a > < li class ="chapter-item expanded "> < a href =cat-tac.html class =active > < strong aria-hidden =true > 1.</ strong > cat and tac</ a > < li class ="chapter-item expanded "> < a href =head-tail.html > < strong aria-hidden =true > 2.</ strong > head and tail</ a > < li class ="chapter-item expanded "> < a href =tr.html > < strong aria-hidden =true > 3.</ strong > tr</ a > < li class ="chapter-item expanded "> < a href =cut.html > < strong aria-hidden =true > 4.</ strong > cut</ a > < li class ="chapter-item expanded "> < a href =seq.html > < strong aria-hidden =true > 5.</ strong > seq</ a > < li class ="chapter-item expanded "> < a href =shuf.html > < strong aria-hidden =true > 6.</ strong > shuf</ a > < li class ="chapter-item expanded "> < a href =paste.html > < strong aria-hidden =true > 7.</ strong > paste</ a > < li class ="chapter-item expanded "> < a href =pr.html > < strong aria-hidden =true > 8.</ strong > pr</ a > < li class ="chapter-item expanded "> < a href =fold-fmt.html > < strong aria-hidden =true > 9.</ strong > fold and fmt</ a > < li class ="chapter-item expanded "> < a href =sort.html > < strong aria-hidden =true > 10.</ strong > sort</ a > < li class ="chapter-item expanded "> < a href =uniq.html > < strong aria-hidden =true > 11.</ strong > uniq</ a > < li class ="chapter-item expanded "> < a href =comm.html > < strong aria-hidden =true > 12.</ strong > comm</ a > </ li > < br > < hr > < li class ="chapter-item expanded "> < i id =git-repository-button class ="fa fa-github "> </ i > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils > Source code</ a > < li class ="chapter-item expanded "> < i id =home-button class ="fa fa-home "> </ i > < a href =https://learnbyexample.github.io/ > My Blog</ a > < li class ="chapter-item expanded "> < i id =book-button class ="fa fa-book "> </ i > < a href =https://learnbyexample.github.io/books/ > My Books</ a > </ ol > </ div > < div id =sidebar-resize-handle class =sidebar-resize-handle > </ div > </ nav > < div id =page-wrapper class =page-wrapper > < div class =page > < div id =menu-bar-hover-placeholder > </ div > < div id =menu-bar class ="menu-bar sticky bordered "> < div class =left-buttons > < button id =sidebar-toggle class =icon-button type =button title ="Toggle Table of Contents "aria-label ="Toggle Table of Contents "aria-controls =sidebar > < i class ="fa fa-bars "> </ i > </ button > < button id =theme-toggle class =icon-button type =button title ="Change theme "aria-label ="Change theme "aria-haspopup =true aria-expanded =false aria-controls =theme-list > < i class ="fa fa-paint-brush "> </ i > </ button > < ul id =theme-list class =theme-popup aria-label =Themes role =menu > < li role =none > < button role =menuitem class =theme id =light > Light (default)</ button > < li role =none > < button role =menuitem class =theme id =rust > Rust</ button > < li role =none > < button role =menuitem class =theme id =coal > Coal</ button > < li role =none > < button role =menuitem class =theme id =navy > Navy</ button > < li role =none > < button role =menuitem class =theme id =ayu > Ayu</ button > </ ul > < button id =search-toggle class =icon-button type =button title ="Search. (Shortkey: s) "aria-label ="Toggle Searchbar "aria-expanded =false aria-keyshortcuts =S aria-controls =searchbar > < i class ="fa fa-search "> </ i > </ button > </ div > < h1 class =menu-title > Command line text processing with GNU Coreutils</ h1 > < div class =right-buttons > < a href =https://learnbyexample.github.io title =Blog aria-label =Blog > < i id =home-button class ="fa fa-home "> </ i > </ a > < a href =https://github.com/learnbyexample/cli_text_processing_coreutils title ="Git repository "aria-label ="Git repository "> < i id =git-repository-button class ="fa fa-github "> </ i > </ a > </ div > </ div > < div id =search-wrapper class =hidden > < form id =searchbar-outer class =searchbar-outer > < input type =search id =searchbar name =searchbar placeholder ="Search this book ... "aria-controls =searchresults-outer aria-describedby =searchresults-header > </ form > < div id =searchresults-outer class ="searchresults-outer hidden "> < div id =searchresults-header class =searchresults-header > </ div > < ul id =searchresults > </ ul > </ div > </ div > < script >
36
36
document . getElementById ( 'sidebar-toggle' ) . setAttribute ( 'aria-expanded' , sidebar === 'visible' ) ;
37
37
document . getElementById ( 'sidebar' ) . setAttribute ( 'aria-hidden' , sidebar !== 'visible' ) ;
38
38
Array . from ( document . querySelectorAll ( '#sidebar a' ) ) . forEach ( function ( link ) {
You can’t perform that action at this time.
0 commit comments