LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 09-23-2005, 12:13 AM   #1
talalrabbani
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
typeset issues in ksh


Hello,

The problem is as follows :

IN UNIX MPRAS :-

file :- check

Contents :-

#!/usr/bin/ksh

function pic
{

echo "Hello"

}

typeset -fx pic

./$1

file :- sample

Contents:-

pic

on prompt :- ./check sample
output :- Hello

Same code and files are present in kshell in Red Hat Enterprise Version 3.

output is :- .lf 1 -

Why is there a difference? How can the same output in Red Hat be produced using a similar procedure ?

Thank you.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ksh and while loops pdc Linux - Newbie 2 10-29-2005 04:13 PM
Typeset issues Asadullah Rathore Linux - General 1 09-24-2005 12:07 PM
typeset not working XST1 Programming 3 02-06-2005 11:29 PM
ksh->Tcl liguorir Linux - Software 2 04-21-2004 11:10 PM
KSH script AquamaN Programming 2 12-08-2003 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration