"Fossies" - the Fresh Open Source Software Archive

Member "dateutils-0.4.6/info/texi2h2m.sh" (19 Mar 2019, 126 Bytes) of package /linux/privat/dateutils-0.4.6.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 
    3 sed '
    4 /^@section/ {
    5     s/@section /\[/
    6     s/$/\]/
    7 }
    8 /^@verbatim/d
    9 /^@end verbatim/d
   10 s/@samp{\([^}]*\)}/"\1"/g
   11 ' "${1}"