Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-11-2008, 12:01 PM   #1
LQ Newbie
Registered: Mar 2008
Posts: 4

Rep: Reputation: 0
RHEL5 braceexpand in KSH not working the same as RHEL4 HELP!

On my RHEL4 system i was able to write a KSH script and set enviornment varibales by doing the following:
set +o braceexpand (turns off braces)
variable is set as wanted and looks like above echo output! I require the enviroment variable to be exactly like the output.

Now i have moved on to Linux 5 and doing the same thing i get the wrong output with braceexpand turned off as in RHEL4.

set +B braceexpand
set -o
Current option settings
braceexpand off
set +o seems to the do the same and turns off braceexpand
but the output of the same above is different.

Output: ksh shell environment settings

"usplselux140" "usplselux141"

It has stripped the brackets and pulled the comma seperator as well. no matter what i do to braceexpand it doesn't come out like i need and it did in RHEL4.

We are running RHEL AS x86_64 OS versions for 4 and 5.

You help is appreciated.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
RHEL4 vs RHEL5 new database servers dfezz1 Linux - Enterprise 1 03-05-2008 12:08 PM
Help: rhel4->rhel5==>Matlab consumes more memory pronuncer Linux - Kernel 4 01-18-2008 06:40 PM
Differences of DNS on RHEL4 & RHEL5 shinoj Linux - Newbie 2 01-06-2008 10:25 AM
how to uninstall rhel4 &rhel5 O/S jagadeesh.nagireddy Linux - Enterprise 2 10-17-2007 09:53 PM
Rhel4/ Rhel5 rehan999 Linux - Software 2 09-01-2007 12:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:14 AM.

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