From d71ead0c09c8d2951d9bacd49e5cd0a68d2e7a2d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 29 Sep 2007 17:20:46 +0100 Subject: hash test now will return only filename, no path, man page and man2html update --- data/doc/sisu/html/sisu.1.html | 37 +++++++++++++++---------------- data/doc/sisu/html/sisu_pdf.7.html | 20 ++++++++--------- data/doc/sisu/html/sisu_postgresql.7.html | 20 ++++++++--------- data/doc/sisu/html/sisu_sqlite.7.html | 20 ++++++++--------- lib/sisu/v0/sysenv.rb | 9 ++++++-- man/man1/sisu.1 | 9 ++++---- man/man7/sisu_vim.7 | 9 ++++---- 7 files changed, 63 insertions(+), 61 deletions(-) diff --git a/data/doc/sisu/html/sisu.1.html b/data/doc/sisu/html/sisu.1.html index 54d04145..b34bac56 100644 --- a/data/doc/sisu/html/sisu.1.html +++ b/data/doc/sisu/html/sisu.1.html @@ -3428,29 +3428,28 @@ Type: information

Filetype: SiSU text insert

0.58 -

Sourcefile Digest, MD5(sisu._sst)= 5f973d9b8e96b9f3fabc280e9d0a18e0 +

Sourcefile Digest, MD5(sisu._sst)= 7d1c79519108da1773a33367e1eba6b5 -

Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +

Skin_Digest: MD5(skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9 -

20fc43cf3eb6590bc3399a1aef65c5a9

Generated -

Document (metaverse) last -generated: Sat Sep 29 15:46:29 +0100 2007 -

Generated by: SiSU 0.59.1 of -2007w39/2 (2007-09-25) -

Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) - [i486-linux] +

Document (metaverse) last generated: Sat Sep 29 17:05:37 + +

+0100 2007 +

Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) +

Ruby version: +ruby 1.8.6 (2007-06-07 patchlevel 36)  [i486-linux]

    -.
  1. objects include: headings, paragraphs, verse, tables, images, -but not footnotes/endnotes which are numbered separately and tied to the -object from which they are referenced.
  2. .
  3. i.e. the html, pdf, odf outputs are -each built individually and optimised for that form of presentation, rather -than for example the html being a saved version of the odf, or the pdf -being a saved version of the html.
  4. .
  5. the different heading levels
  6. .
  7. units of -text, primarily paragraphs and headings, also any tables, poems, code-blocks -
  8. .
  9. Specification submitted by Adobe to ISO to become a full open ISO specification - <http://www.linux-watch.com/news/NS7542722606.html +.
  10. objects include: headings, +paragraphs, verse, tables, images, but not footnotes/endnotes which are +numbered separately and tied to the object from which they are referenced. +
  11. .
  12. i.e. the html, pdf, odf outputs are each built individually and optimised +for that form of presentation, rather than for example the html being a +saved version of the odf, or the pdf being a saved version of the html. +
  13. .
  14. the different heading levels
  15. .
  16. units of text, primarily paragraphs and headings, +also any tables, poems, code-blocks
  17. .
  18. Specification submitted by Adobe to +ISO to become a full open ISO specification <http://www.linux-watch.com/news/NS7542722606.html >
  19. .
  20. ISO/IEC 26300:2006 @@ -3563,7 +3562,7 @@ distributable are not freely changeable.
  21. .
  22. named index.html or mo
    * Last Generated on: Sat Sep 29 -15:46:29 +0100 2007
    +17:05:38 +0100 2007
    * SiSU http://www.jus.uio.no/sisu diff --git a/data/doc/sisu/html/sisu_pdf.7.html b/data/doc/sisu/html/sisu_pdf.7.html index 7c977c9e..4c2f884e 100644 --- a/data/doc/sisu/html/sisu_pdf.7.html +++ b/data/doc/sisu/html/sisu_pdf.7.html @@ -99,21 +99,21 @@ Type: information

    Sourcefile Digest, MD5(sisu_pdf.sst)= bed13854370b5daf1b1541527e8946b7 -

    Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +

    Skin_Digest: MD5(skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9 -

    20fc43cf3eb6590bc3399a1aef65c5a9

    Generated -

    Document (metaverse) last -generated: Sat Sep 29 16:06:43 +0100 2007 -

    Generated by: SiSU 0.59.1 of -2007w39/2 (2007-09-25) -

    Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) - [i486-linux] +

    Document (metaverse) last generated: Sat Sep 29 17:05:37 + +

    +0100 2007 +

    Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) +

    Ruby version: +ruby 1.8.6 (2007-06-07 patchlevel 36)  [i486-linux]

    -
    Other versions of this document:
    +
    Other versions of this +document:
    manifest: <http://www.jus.uio.no/sisu/sisu_pdf/sisu_manifest.html @@ -152,7 +152,7 @@ generated: Sat Sep 29 16:06:43 +0100 2007
    * Last Generated on: Sat Sep 29 -16:06:44 +0100 2007
    +17:05:39 +0100 2007
    * SiSU http://www.jus.uio.no/sisu diff --git a/data/doc/sisu/html/sisu_postgresql.7.html b/data/doc/sisu/html/sisu_postgresql.7.html index 35cb1fe8..73cbabf3 100644 --- a/data/doc/sisu/html/sisu_postgresql.7.html +++ b/data/doc/sisu/html/sisu_postgresql.7.html @@ -126,21 +126,21 @@ Type: information

    text 0.58

    Sourcefile Digest, MD5(sisu_postgresql.sst)= 9010e85001c50e30ba2ab69f9097825a -

    Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +

    Skin_Digest: MD5(skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9 -

    20fc43cf3eb6590bc3399a1aef65c5a9

    Generated -

    Document (metaverse) last -generated: Sat Sep 29 16:06:43 +0100 2007 -

    Generated by: SiSU 0.59.1 of -2007w39/2 (2007-09-25) -

    Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) - [i486-linux] +

    Document (metaverse) last generated: Sat Sep 29 17:05:38 + +

    +0100 2007 +

    Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) +

    Ruby version: +ruby 1.8.6 (2007-06-07 patchlevel 36)  [i486-linux]

    -
    Other versions of this document:
    +
    Other versions of this +document:
    manifest: <http://www.jus.uio.no/sisu/sisu_postgresql/sisu_manifest.html @@ -179,7 +179,7 @@ generated: Sat Sep 29 16:06:43 +0100 2007
    * Last Generated on: Sat Sep 29 -16:06:44 +0100 2007
    +17:05:39 +0100 2007
    * SiSU http://www.jus.uio.no/sisu diff --git a/data/doc/sisu/html/sisu_sqlite.7.html b/data/doc/sisu/html/sisu_sqlite.7.html index 9b710a0f..7559ff17 100644 --- a/data/doc/sisu/html/sisu_sqlite.7.html +++ b/data/doc/sisu/html/sisu_sqlite.7.html @@ -124,21 +124,21 @@ Type: information

    0.58

    Sourcefile Digest, MD5(sisu_sqlite.sst)= c4717fcab8a43de498d41a916bb99551 -

    Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/sisu-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +

    Skin_Digest: MD5(skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9 -

    20fc43cf3eb6590bc3399a1aef65c5a9

    Generated -

    Document (metaverse) last -generated: Sat Sep 29 16:06:43 +0100 2007 -

    Generated by: SiSU 0.59.1 of -2007w39/2 (2007-09-25) -

    Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) - [i486-linux] +

    Document (metaverse) last generated: Sat Sep 29 17:05:38 + +

    +0100 2007 +

    Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25) +

    Ruby version: +ruby 1.8.6 (2007-06-07 patchlevel 36)  [i486-linux]

    -
    Other versions of this document:
    +
    Other versions of this +document:
    manifest: <http://www.jus.uio.no/sisu/sisu_sqlite/sisu_manifest.html @@ -177,7 +177,7 @@ generated: Sat Sep 29 16:06:43 +0100 2007
    * Last Generated on: Sat Sep 29 -16:06:44 +0100 2007
    +17:05:39 +0100 2007
    * SiSU http://www.jus.uio.no/sisu diff --git a/lib/sisu/v0/sysenv.rb b/lib/sisu/v0/sysenv.rb index 8bf805be..329c9111 100644 --- a/lib/sisu/v0/sysenv.rb +++ b/lib/sisu/v0/sysenv.rb @@ -536,7 +536,10 @@ module SiSU_Env program='openssl' program_ref="\n\t\tmd5 digest requested" if program_found?(program) - dgst=%x{openssl dgst -md5 #{filename}}.strip + pwd=Dir.pwd + Dir.chdir(File.dirname(filename)) + dgst=%x{openssl dgst -md5 #{File.basename(filename)}}.strip #use file name without file path + Dir.chdir(pwd) dgst.scan(/\S+/) else puts "\tWARN: #{program} is not installed #{program_ref}" #if @cmd =~/v/ false @@ -546,7 +549,9 @@ module SiSU_Env program='openssl' program_ref="\n\t\tsha digest requested" if program_found?(program) - dgst=%x{openssl dgst -sha256 #{filename}}.strip + Dir.chdir(File.dirname(filename)) + dgst=%x{openssl dgst -sha256 #{File.basename(filename)}}.strip #use file name without file path + Dir.chdir(pwd) dgst.scan(/\S+/) else puts "\tWARN: #{program} is not installed #{program_ref}" #if @cmd =~/v/ false diff --git a/man/man1/sisu.1 b/man/man1/sisu.1 index 8cbb0056..e07eb22a 100644 --- a/man/man1/sisu.1 +++ b/man/man1/sisu.1 @@ -4746,11 +4746,10 @@ Filetype: .BR Sourcefile Digest, MD5(sisu._sst)= -.I 5f973d9b8e96b9f3fabc280e9d0a18e0 +.I 7d1c79519108da1773a33367e1eba6b5 .BR -Skin_Digest: -MD5(/home/ralph/grotto/theatre/dbld/sisu\-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +Skin_Digest: MD5(skin_sisu_manual.rb)= .I 20fc43cf3eb6590bc3399a1aef65c5a9 .BR @@ -4758,7 +4757,7 @@ MD5(/home/ralph/grotto/theatre/dbld/sisu\-dev/sisu/data/doc/sisu/sisu_markup_sam .BR Document (metaverse) last generated: -.I Sat Sep 29 15:46:29 +0100 2007 +.I Sat Sep 29 17:05:37 +0100 2007 .BR Generated by: @@ -4925,6 +4924,6 @@ at: .TP * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] .TP -* Last Generated on: Sat Sep 29 15:46:29 +0100 2007 +* Last Generated on: Sat Sep 29 17:05:38 +0100 2007 .TP * SiSU http://www.jus.uio.no/sisu diff --git a/man/man7/sisu_vim.7 b/man/man7/sisu_vim.7 index 553e8fd6..07af608a 100644 --- a/man/man7/sisu_vim.7 +++ b/man/man7/sisu_vim.7 @@ -52,7 +52,7 @@ Vim). .BR sisu\-vim actions are activated on files with the suffix \.sst \.ssm \.ssi -\.\-sst \._sst (and the same with a further \.meta extension) + \.\-sst \._sst (and the same with a further \.meta extension) .nf @@ -151,8 +151,7 @@ Sourcefile Digest, MD5(sisu_vim.sst)= .I a3db74eebef04815aa234d3c3b17f375 .BR -Skin_Digest: -MD5(/home/ralph/grotto/theatre/dbld/sisu\-dev/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= +Skin_Digest: MD5(skin_sisu_manual.rb)= .I 20fc43cf3eb6590bc3399a1aef65c5a9 .BR @@ -160,7 +159,7 @@ MD5(/home/ralph/grotto/theatre/dbld/sisu\-dev/sisu/data/doc/sisu/sisu_markup_sam .BR Document (metaverse) last generated: -.I Sat Sep 29 13:20:58 +0100 2007 +.I Sat Sep 29 17:14:44 +0100 2007 .BR Generated by: @@ -193,6 +192,6 @@ at: .TP * Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux] .TP -* Last Generated on: Sat Sep 29 13:21:02 +0100 2007 +* Last Generated on: Sat Sep 29 17:14:44 +0100 2007 .TP * SiSU http://www.jus.uio.no/sisu -- cgit v1.2.3