# HG changeset patch # User Matti Hamalainen # Date 1508964077 -10800 # Node ID e3be2ae6120eda87d90734607bb8f1dde5efd20a # Parent 44e1c1555d8767775879dda97d66fd181670208a Delete trailing whitespace. diff -r 44e1c1555d87 -r e3be2ae6120e README.txt --- a/README.txt Wed Oct 25 23:40:21 2017 +0300 +++ b/README.txt Wed Oct 25 23:41:17 2017 +0300 @@ -21,6 +21,7 @@ - GCC (4.x, older ones might work as well) - GNU binutils - GNU Make + - th-libs library (included in the tar/zip packages, for building from mercurial repo, see "how to build") @@ -62,9 +63,9 @@ ===== For more information about options, see 'sidinfo --help'. ---- --- --- --- --- --- --- --- --- --- +--- --- --- --- --- --- --- --- --- --- -$ sidinfo /misc/C64Music/MUSICIANS/J/Jeff/Anal_ogue.sid +$ sidinfo /misc/C64Music/MUSICIANS/J/Jeff/Anal_ogue.sid Filename : /misc/C64Music/MUSICIANS/J/Jeff/Anal_ogue.sid Type : PSID Version : 2.0 @@ -80,7 +81,7 @@ Copyright : 1996 Jeff Hash : 6d5b7f0ff092e55abf27c37c8bc3fc64 ---- --- --- --- --- --- --- --- --- --- +--- --- --- --- --- --- --- --- --- --- $ sidinfo /misc/C64Music/MUSICIANS/J/Jeff/Anal_ogue.sid -p -x Filename=/misc/C64Music/MUSICIANS/J/Jeff/Anal_ogue.sid @@ -98,12 +99,12 @@ Copyright=1996 Jeff Hash=6d5b7f0ff092e55abf27c37c8bc3fc64 ---- --- --- --- --- --- --- --- --- --- +--- --- --- --- --- --- --- --- --- --- -$ sidinfo -l \| -f type,ver,hash,name,author,copyright Anal_ogue.sid +$ sidinfo -l \| -f type,ver,hash,name,author,copyright Anal_ogue.sid PSID|2.0|Anal'ogue|Søren Lund (Jeff)|1996 Jeff|6d5b7f0ff092e55abf27c37c8bc3fc64| ---- --- --- --- --- --- --- --- --- --- +--- --- --- --- --- --- --- --- --- --- By using the format string functionality you can control the output very specifically: @@ -112,7 +113,7 @@ NAME="Anal'ogue" HASH=6d5b7f0ff092e55abf27c37c8bc3fc64 ---- --- --- --- --- --- --- --- --- --- +--- --- --- --- --- --- --- --- --- --- Furthermore, you can use "printf"-style format specifiers for formatting each @field@, see this example: diff -r 44e1c1555d87 -r e3be2ae6120e sidinfo.c --- a/sidinfo.c Wed Oct 25 23:40:21 2017 +0300 +++ b/sidinfo.c Wed Oct 25 23:41:17 2017 +0300 @@ -879,7 +879,7 @@ break; } } - + if (optFieldOutput) { if (shown && optOneLine) @@ -927,7 +927,7 @@ optParsable = FALSE; optNoNamePrefix = TRUE; } - + if (optFieldOutput && !optFormat.nitems) { PSFStackItem item;