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
Forums
Discussions
Discussions
Discussions
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
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
03-09-2004 03:45 AM
03-09-2004 03:45 AM
awk help
i have 600 files and have to get some informations from that files..let's suppose
file1;
1386 bbbb
ccc 1ks983 hsd823
file2;
2190 gd73 1212
bbbb ccc
ksd xyz
file3;
2145 h723 bbbb
ccc
so i want to search some spesific strings for these files and want to see in some optional headers like below;
type: os: pack:
1386 bbbb ccc
2190 bbbb ccc
2354 bbbb ccc
so how can i manipulate these 600 files and get the strings informations and put optional headers information?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 03:48 AM
03-09-2004 03:48 AM
Re: awk help
What are the possible values of OS and Pack that will be showing up. Give a couple of examples please.
Then it should be fairly easy to code in awk.
Best regards,
Kent M. Ostby
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 03:50 AM
03-09-2004 03:50 AM
Re: awk help
Do you grab the first field of the first record and look for "bbbb" and "ccc" and tack them together as one line?
Need more definition...
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-09-2004 05:03 PM
03-09-2004 05:03 PM
Re: awk help
Thank's so much for your kind concern...
sorry for insufficient data..these files are
*.csv and produced for clients from our network login.bat via freeware software so
every file like computername.cvs included
machine name,Os type &language,service pack
etc..
so for Os value is 1386 means NT,2195 for
W2k and 2600 for XP,service pack for 3846
and there are a lot of hardware&software information in csv file but now i only need
these information...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-15-2005 11:22 PM
05-15-2005 11:22 PM