Skip to content

Commit

Permalink
refactor: use more readable Tcl version reqs
Browse files Browse the repository at this point in the history
  • Loading branch information
dbohdan committed May 9, 2024
1 parent e7974dd commit 78c5fde
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
5 changes: 3 additions & 2 deletions tinyfts-dev.tcl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#! /usr/bin/env tclsh
# tinyfts: a very small standalone full-text search HTTP server.
# ==============================================================================
# Copyright (c) 2019-2022 D. Bohdan and contributors listed in AUTHORS
# Copyright (c) 2019-2022, 2024 D. Bohdan
# and contributors listed in AUTHORS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +23,7 @@
# THE SOFTWARE.
# ==============================================================================

package require Tcl 8.6-10
package require Tcl 8.6 9
package require sqlite3 3.9


Expand Down
7 changes: 4 additions & 3 deletions tools/dir2json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
# file(1) to determine what is a text file. It attempts to extract text from
# HTML using tDOM.
# ==============================================================================
# Copyright (c) 2022 D. Bohdan and contributors listed in AUTHORS
# Copyright (c) 2022, 2024 D. Bohdan
# and contributors listed in AUTHORS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -24,7 +25,7 @@
# THE SOFTWARE.
# ==============================================================================

package require Tcl 8.6-10
package require Tcl 8.6 9
package require fileutil 1
package require json::write 1
package require tdom
Expand Down Expand Up @@ -116,4 +117,4 @@ if {[info exists argv0] && ([file tail [info script]] eq [file tail $argv0])} {
exit 0
}
main {*}$argv
}
}
5 changes: 3 additions & 2 deletions tools/import
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#! /usr/bin/env tclsh
# A tool to import data into a tinyfts database.
# ==============================================================================
# Copyright (c) 2019, 2021-2023 D. Bohdan and contributors listed in AUTHORS
# Copyright (c) 2019, 2021-2024 D. Bohdan
# and contributors listed in AUTHORS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +23,7 @@
# THE SOFTWARE.
# ==============================================================================

package require Tcl 8.6-10
package require Tcl 8.6 9
package require fileutil 1
package require http 2
package require json 1
Expand Down
5 changes: 3 additions & 2 deletions tools/titlecat
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#! /usr/bin/env tclsh
# Concatenate files with a comment containing the filename before each.
# ==============================================================================
# Copyright (c) 2019, 2021-2022 D. Bohdan and contributors listed in AUTHORS
# Copyright (c) 2019, 2021-2022, 2024 D. Bohdan
# and contributors listed in AUTHORS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +23,7 @@
# THE SOFTWARE.
# ==============================================================================

package require Tcl 8.6-10
package require Tcl 8.6 9
package require fileutil 1


Expand Down
5 changes: 3 additions & 2 deletions tools/wrap
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#! /usr/bin/env tclsh
# Store any data in Tcl source code.
# ==============================================================================
# Copyright (c) 2019, 2021-2022 D. Bohdan and contributors listed in AUTHORS
# Copyright (c) 2019, 2021-2022, 2024 D. Bohdan
# and contributors listed in AUTHORS
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
Expand All @@ -22,7 +23,7 @@
# THE SOFTWARE.
# ==============================================================================

package require Tcl 8.6-10
package require Tcl 8.6 9
package require fileutil 1

namespace eval wrap {}
Expand Down
4 changes: 2 additions & 2 deletions vendor/wapp/wapp.tcl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (c) 2017 D. Richard Hipp
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the Simplified BSD License (also
# known as the "2-Clause License" or "FreeBSD License".)
Expand All @@ -16,7 +16,7 @@
#
# (2) Indentifiers intended for internal use only begin with "wappInt"
#
package require Tcl 8.6-10
package require Tcl 8.6 9

# Add text to the end of the HTTP reply. No interpretation or transformation
# of the text is performs. The argument should be enclosed within {...}
Expand Down

0 comments on commit 78c5fde

Please sign in to comment.