HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Syntax error when running cpm_collect.sh
Operating System - HP-UX
1834460
Members
2960
Online
110067
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
03-23-2005 03:51 AM
03-23-2005 03:51 AM
I downloaded cpm_collect.sh (A.03.14) and FTPed to hp-ux. When I ran it, I got error message:
Creating list of patches in ./dr12w.fs...
syntax error The source line is 15.
The error context is
{if ($2 >>> ~~ <<< /[0-9]+/)
awk: The statement cannot be correctly parsed.
The source line is 15.
syntax error The source line is 53.
Creating list of patch aggregates in ./dr12w.fs...
syntax error The source line is 3.
The error context is
{if ($1 >>> !~~ <<<
awk: The statement cannot be correctly parsed.
The source line is 3.
awk: There is a missing ) character.
Creating list of products and filesets in ./dr12w.fs...
syntax error The source line is 26.
The error context is
{if ((start) && (product) && (product >>> !~~ <<< /PH.._[0-9]*/))
awk: The statement cannot be correctly parsed.
The source line is 26.
syntax error The source line is 42.
syntax error The source line is 5.
The error context is
{if ($1 >>> ~~ <<<
awk: The statement cannot be correctly parsed.
The source line is 5.
awk: The statement cannot be correctly parsed.
The source line is 7.
Any help will be much appreciated.
Creating list of patches in ./dr12w.fs...
syntax error The source line is 15.
The error context is
{if ($2 >>> ~~ <<< /[0-9]+/)
awk: The statement cannot be correctly parsed.
The source line is 15.
syntax error The source line is 53.
Creating list of patch aggregates in ./dr12w.fs...
syntax error The source line is 3.
The error context is
{if ($1 >>> !~~ <<<
awk: The statement cannot be correctly parsed.
The source line is 3.
awk: There is a missing ) character.
Creating list of products and filesets in ./dr12w.fs...
syntax error The source line is 26.
The error context is
{if ((start) && (product) && (product >>> !~~ <<< /PH.._[0-9]*/))
awk: The statement cannot be correctly parsed.
The source line is 26.
syntax error The source line is 42.
syntax error The source line is 5.
The error context is
{if ($1 >>> ~~ <<<
awk: The statement cannot be correctly parsed.
The source line is 5.
awk: The statement cannot be correctly parsed.
The source line is 7.
Any help will be much appreciated.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 04:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 04:28 AM
03-23-2005 04:28 AM
Re: Syntax error when running cpm_collect.sh
Just to follow up, the man page for awk lists :
~
and
!~
but not
!~~
for operators.
~
and
!~
but not
!~~
for operators.
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-23-2005 06:04 AM
03-23-2005 06:04 AM
Re: Syntax error when running cpm_collect.sh
Thanks. It worked.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP