- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Scripting question
Categories
Company
Local Language
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
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
Community
Resources
Forums
Blogs
- 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
тАО10-30-2009 11:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2009 01:19 AM
тАО10-31-2009 01:19 AM
Re: Scripting question
Check this out:
Code:
--------------------------------------------
# awk '{$2=$2*2} /PP=/ {print $0}' pp_file
--------------------------------------------
# cat pp_file
PP= 2 As a quick 0909 A00990
PP= 3 As a quick A09093 2342
PP= 5 sas a quick 09000! A00
PP= 9 sa a aqij 0900 A009
PP= 6 as oks fA09000 0090 00
SP= 7 sk sa aik a0000 aa
PP= 8.1 Asa sfllks 9990
NP= 3 aksfs A0009 aa0009
#
# awk '{$2=$2*2} /PP=/ {print $0}' pp_file
PP= 4 As a quick 0909 A00990
PP= 6 As a quick A09093 2342
PP= 10 sas a quick 09000! A00
PP= 18 sa a aqij 0900 A009
PP= 12 as oks fA09000 0090 00
PP= 16.2 Asa sfllks 9990
#
Cheers,
Raj.
*Remember to assign points to the responses all who tried o help you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2009 02:36 PM
тАО11-01-2009 02:36 PM
Re: Scripting question
If you satisfied with the answer and your problem got solved then please make a habit to assign points,
Those people who give there valuable time for your problem they should expect some apparition from you in terms of points.
To know how to assign points please go through the below link
http://forums13.itrc.hp.com/service/forums/helptips.do?admit=109447627+1256027208667+28353475#33
Thanks
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2009 11:25 PM
тАО11-01-2009 11:25 PM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2009 11:28 PM
тАО11-01-2009 11:28 PM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2009 11:28 PM
тАО11-01-2009 11:28 PM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2009 11:38 PM
тАО11-01-2009 11:38 PM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 01:38 AM
тАО11-02-2009 01:38 AM
Re: Scripting question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2009 07:31 AM
тАО11-02-2009 07:31 AM
Re: Scripting question
Let me take a different approach since its easy to miss some of these links in your profile. Here is your profile
http://forums11.itrc.hp.com/service/forums/publicProfile.do?forumId=1&userId=CA828944
At the very bottom under the last section titled "My Questions" is a hard to miss link call "unassigned points", every thread where you haven't provided 0 to 10 points still gets flagged. And the only way you can remove these flags is by assigning points.
- « Previous
-
- 1
- 2
- Next »