<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.theeggeadventure.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Korn_Shell</id>
	<title>Korn Shell - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.theeggeadventure.com/wikimedia/index.php?action=history&amp;feed=atom&amp;title=Korn_Shell"/>
	<link rel="alternate" type="text/html" href="https://www.theeggeadventure.com/wikimedia/index.php?title=Korn_Shell&amp;action=history"/>
	<updated>2026-05-24T23:23:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-beta</generator>
	<entry>
		<id>https://www.theeggeadventure.com/wikimedia/index.php?title=Korn_Shell&amp;diff=2384&amp;oldid=prev</id>
		<title>Brianegge: Created page with &quot;=== Enable tracing a function in ksh ===  Tracing can be enabled for a KornShell script by using &quot;set -x&quot;, but this will have no effect on functions within the script. The fol...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.theeggeadventure.com/wikimedia/index.php?title=Korn_Shell&amp;diff=2384&amp;oldid=prev"/>
		<updated>2012-04-04T12:09:31Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=== Enable tracing a function in ksh ===  Tracing can be enabled for a KornShell script by using &amp;quot;set -x&amp;quot;, but this will have no effect on functions within the script. The fol...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== Enable tracing a function in ksh ===&lt;br /&gt;
&lt;br /&gt;
Tracing can be enabled for a&lt;br /&gt;
KornShell script by using &amp;quot;set -x&amp;quot;, but&lt;br /&gt;
this will have no effect on functions&lt;br /&gt;
within the script.&lt;br /&gt;
The following line will enable tracing&lt;br /&gt;
for all functions in a script:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;geshi lang=&amp;quot;bash&amp;quot;&amp;gt;&lt;br /&gt;
    typeset -ft $(typeset +f)&lt;br /&gt;
&amp;lt;/geshi&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that this will not work for BASH.&lt;br /&gt;
&lt;br /&gt;
[Idea is from Dan Mercer &amp;lt;dmercer@mn.rr.com&amp;gt;,&lt;br /&gt;
news group comp.unix.shell]&lt;br /&gt;
&lt;br /&gt;
[[Category:Unix]]&lt;/div&gt;</summary>
		<author><name>Brianegge</name></author>
	</entry>
</feed>