HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- \n is not available in Extended Regular Expression...
Operating System - HP-UX
1825795
Members
2284
Online
109687
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
Forums
Discussions
Discussions
Discussions
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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
01-13-2004 09:17 PM
01-13-2004 09:17 PM
I think that Extenden Regular Expressions (ERE) are more useful than Regular Expression (RE) but I realized that \n is only available in RE, not in ERE.
Is there any reason to remove \n from ERE ?
It would be very useful for me in some awk programs.
Is there any reason to remove \n from ERE ?
It would be very useful for me in some awk programs.
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-14-2004 05:14 AM
01-14-2004 05:14 AM
Solution
I think you are asking why is \n not in ERE, but IS in the less functional RE?
The best example I can give is that UNIX was written by a few main folks... But many of the tools were written by thousands of folks across the country and almost 20 years of development, well 15 or so.
I have a similar bone with all the various options not matching on different commands...
why isnt -r or -R (recursive) in all cases? IN some cases it is for "reverse"... Same with -f... -f can mean "file" or "follow" as with tail...
Unix is a homogenious OS... but has a few quirks... both we can attribute to the open source nature of it back in the late 60s and 70s....
The best example I can give is that UNIX was written by a few main folks... But many of the tools were written by thousands of folks across the country and almost 20 years of development, well 15 or so.
I have a similar bone with all the various options not matching on different commands...
why isnt -r or -R (recursive) in all cases? IN some cases it is for "reverse"... Same with -f... -f can mean "file" or "follow" as with tail...
Unix is a homogenious OS... but has a few quirks... both we can attribute to the open source nature of it back in the late 60s and 70s....
Unix, the other white meat.
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.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP