12-20-2007
Actually no. The -F: option is not required because of the space after the colon on each line.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I'm currenting trying to parse the out put of the following command.
iostat -xtc -r |grep cmdk0
which produces the output
cmdk0,0.2,0.0,1.2,0.0,0.0,0.0,39.7,0,0,0,0,0,0,0,99
I'm then trying to get the data to look like this:
rw=0.2
ws=0.0
krs=1.2
kws=0.0
wait=0.0
actv=0.0... (2 Replies)
Discussion started by: edefoe
2 Replies
2. Shell Programming and Scripting
cp4 0 0 170.217.86.10.1421 170.217.86.8.53308 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62948 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62949 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 ... (1 Reply)
Discussion started by: ajaya
1 Replies
3. Shell Programming and Scripting
cp4 0 0 170.217.86.10.1421 170.217.86.8.53308 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62948 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 170.217.86.8.62949 ESTABLISHED
tcp4 0 0 170.217.86.10.1421 ... (1 Reply)
Discussion started by: ajaya
1 Replies
4. Shell Programming and Scripting
Aloha! I have just over 1k of users that have permissions that they shouldn't under our system. I need to parse a provided list of usernames, check their permissions file, and strip the permissions that they are not allowed to have. If upon the permissions strip they are left with no permissions,... (6 Replies)
Discussion started by: Malumake
6 Replies
5. Shell Programming and Scripting
Hi,
I am wondering if there's a simpler way to extract the second occurrence of a word enclosed in that matches my search criteria.
Sample Input is as follows:
Error installing feature - com.er.nms.cif.ist.NoMatchingUpgra
Error installing feature -... (4 Replies)
Discussion started by: racbern
4 Replies
6. UNIX for Advanced & Expert Users
File 1
<html>ta da....unique file name I want to give file=>343...</html>
<html>da ta 234 </html>
<html>pa da 542 </html>
and so on...
File 2
343
234
542
and so on, each line in File 1 one also corresponds with each line in File 2
I have tried several grep, sed, while .. read, do,... (4 Replies)
Discussion started by: web_developer
4 Replies
7. Shell Programming and Scripting
Hi,
I have a line QMNAME(qmgrname) STATUS(RUNNING)
Can u jus tell me how to only get the status field ? And also the value of the status whether it is running or not running.
--
Thanks (2 Replies)
Discussion started by: julie_s
2 Replies
8. Shell Programming and Scripting
Hello,
I have a html file like this :
<html>
...
...
...
<table>
.......
......
</table>
<table name = "hi">
......
.....
...
</table>
<h1> Welcome </h1>
.......
......
</html> (11 Replies)
Discussion started by: prasanna1157
11 Replies
9. Shell Programming and Scripting
I've been searching for an hour on how to parse a file like this:
10.200.5.83 - - "GET /portal/edits.js HTTP/1.1" 200 24324
10.200.5.83 - - "GET /portal/objects/PortalConfig.js HTTP/1.1" 200 12187
10.200.5.84 - - "GET /portal/objects/CommonDialog.js HTTP/1.1" 200 8283
10.200.5.84 - - "GET... (4 Replies)
Discussion started by: dba_frog
4 Replies
10. Shell Programming and Scripting
I have a test file with the following format, It contains the username_date when the user was locked from the database.
$ cat lockedusers.txt
TEST1_21062016
TEST2_02122015
TEST3_01032016
TEST4_01042016
I'm writing a ksh script and faced with this difficult scenario for my... (11 Replies)
Discussion started by: humble_learner
11 Replies
genra(8) System Manager's Manual genra(8)
Name
genra - produce distribution RA60 media
Syntax
/etc/genra [-{wv}] [hostname:]product_code special
Description
The utility is used to produce RA60 distribution media. The utility searches for the product_code (as provided by the user on the command
line), creates a new file system on the partition defined in the kit description, mounts the disk, transfers files and subsets as described
in the kitcap kit description, uses to verify files for accuracy in transfer, and then unmounts the file system. The utility can create
multiple directories on the RA60 for separate products, and can also combine multiple products into one product, all controlled by
The optional hostname: argument is the name of a remote TCP/IP network machine that contains the kitcap file. The utility will search on
the remote machine for the product_code and use it for creating the media. The colon (:) is a required delimiter for TCP/IP networks, and
there is no space between the colon and the product_code. For example, if the product code was ULT-2.2-V-BW, and the kitcap file to be
used was on node "mynode", the proper syntax for this option would be
mynode:ULT-2.2-V-BW
The product_code is a user defined code that is located in and describes the partition, directories, and subsets, that make up a kitcap
description. It can be any set of numbers or letters, and is usually formed in a way to have some meaning as to the product that it
describes. For example, if the product name is MYPRODUCT and it is version 1, a proper product_code for that product might be MYP010.
The special argument indicates that the device is a special device such as The actual partition that the utility will write the files on is
defined in the kitcap description for the product_code that is being used. Therefore, it makes no difference what partition is appended to
the special device file used on the command line.
Options
-w Write only.
-v Verify only.
If neither option appears on the command line, then by default, the utility will write, then verify, the files in the kit descrip-
tor.
Restrictions
You must be a superuser to run this program. If the optional hostname is used, you must be able to access files on the remote host as
superuser.
Files
ra device special files
Kit descriptor database
See Also
gentapes(1), sum(1), kitcap(5)
genra(8)