- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Could not set xpg_echo thru' shopt ..
Operating System - Linux
1753785
Members
7445
Online
108799
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2002 10:57 PM
тАО06-24-2002 10:57 PM
Could not set xpg_echo thru' shopt ..
Hi all
I am trying to enable the xpg_echo .. but it is throwing an error.
shopt -s xpg_echo
bash: shopt: xpg_echo: unknown shell option name
The option xpg_echo is not already present in the option list.
Any clues how to enable this ??
Regards
Jamni
I am trying to enable the xpg_echo .. but it is throwing an error.
shopt -s xpg_echo
bash: shopt: xpg_echo: unknown shell option name
The option xpg_echo is not already present in the option list.
Any clues how to enable this ??
Regards
Jamni
If a man does his best, what else is there?
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 09:26 PM
тАО09-17-2002 09:26 PM
Re: Could not set xpg_echo thru' shopt ..
What is the bash version? (use "bash --version" command)
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
HPE Software Rocks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 09:26 PM
тАО09-17-2002 09:26 PM
Re: Could not set xpg_echo thru' shopt ..
What is the bash version? (use "bash --version" command)
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
try this link - http://www.unixguide.net/unix/bash/B1.shtml
-ramd-
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
try this link - http://www.unixguide.net/unix/bash/B1.shtml
-ramd-
HPE Software Rocks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-17-2002 09:29 PM
тАО09-17-2002 09:29 PM
Re: Could not set xpg_echo thru' shopt ..
What is the bash version? (use "bash --version" command)
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
try this link - http://www.unixguide.net/unix/bash/B1.shtml
-ramd-
xpg_echo as an option is supported only from bash version 2.04. if your linux box runs earlier versions of bash, then xpg_echo will not be listed in the shopt output too.
if bash --version < 2.04, then use echo -e option, instead of echo, to interpret escape sequences in the way printf would.
>>>>>>>>>>>>>>>>>>>
echo -e "laksjdf\n"
laksjdf
>>>>>>>>>>>>>>>>>>>
echo "lksjadf\n"
lksjadf\n
>>>>>>>>>>>>>>>>>>>
try this link - http://www.unixguide.net/unix/bash/B1.shtml
-ramd-
HPE Software Rocks!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP