ALT Linux repos
Group :: Development/Tcl
RPM: tcl
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: 0008-ALT-tclsh.1-fix-shebang-example.patch
Download
Download
From e7cefeaac9e82619801aab9e5f88fd7dd913b0d9 Mon Sep 17 00:00:00 2001
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
Date: Thu, 5 Sep 2019 00:45:46 +0300
Subject: [PATCH] ALT tclsh.1: fix shebang example
---
tcl/doc/tclsh.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tcl/doc/tclsh.1 b/tcl/doc/tclsh.1
index fa0ecc2268..b1407129a6 100644
--- a/tcl/doc/tclsh.1
+++ b/tcl/doc/tclsh.1
@@ -55,13 +55,13 @@ line, but the script file can always \fBsource\fR it if desired.
If you create a Tcl script in a file whose first line is
.PP
.CS
-\fB#!/usr/local/bin/tclsh\fR
+\fB#!/usr/bin/tclsh\fR
.CE
.PP
then you can invoke the script file directly from your shell if
you mark the file as executable.
This assumes that \fBtclsh\fR has been installed in the default
-location in /usr/local/bin; if it is installed somewhere else
+location in /usr/bin; if it is installed somewhere else
then you will have to modify the above line to match.
Many UNIX systems do not allow the \fB#!\fR line to exceed about
30 characters in length, so be sure that the \fBtclsh\fR
--
2.33.5