Hello,
I have a single column of data that I would like to cut/print (with awk or ...) into multiple columns at every empty row (or common character).
Input:
5.99123
5.94693
7.21383
5.95202
0.907935
5.99149
6.08427
0.975774
6.077
Output:
5.99123 5.95202 6.08427
5.94693... (7 Replies)
Hi All,
I have a table with 10 columns. Some columns(2nd,4th,5th,7th,8th and 10th) are Not Null columns. I'll get a tab-delimited file and want to check col by col and generate seperate error code for each col eg:102 if 2nd col value is NULL and 104 if 4th col value is NULL so on... I am a... (7 Replies)
hey guys...
Im looking to do the following:
1
2
3
4
5
6
7
8
9
Change to:
1 4 7
2 5 8
3 6 9
Did use | perl -lpe'$\=$.%3?$":"\n"' , but it doesnt give me the matrix i want. (3 Replies)
Hello,
I have a file that contains 64,235 columns and over 1000 rows and looks similar to this:
ID dad mom 1 2 3 4 5.... 64232
1234 5678 6789 AA BB CC DD EE....ZZ
1342 5786 6897 BB CC DD EE FF....AA
1423 5867 6978 CC DD EE FF GG....BB
I need to leave the first three columns in... (4 Replies)
I have a File with these format:
A1
A2
A3
A4
B1
B2
B3
B4
.
.
.
And I wont these format:
A1 A2 A3 A4
B1 B2 B3 B4
.. .. .. .. .. ...
How can I do that???
thanks (1 Reply)
Hi,
I have the following input file
32895901-d17f-414c-ac93-3e7e0f5ec240 AND @GDF_INPUT
73b129e1-1fa9-4c0d-b95b-4682e5389612 AUS @GDF_INPUT
40f82e88-d1ff-4ce2-9b8e-d827ddb39447 BEL @GDF_INPUT
36e9c3f1-042a-43a4-a80e-4a3bc2513d01 BGR @GDF_INPUT
I want to split column 3 into two columns:... (1 Reply)
Hello everyone,
I searched the forum looking for answers to this but I could not pinpoint exactly what I need as I keep having trouble.
I have many files each having two columns and hundreds of rows.
first column is a string (can have many words) and the second column is a number.The files are... (5 Replies)
Hi Experts,
Please bear with me, i need help
I am learning AWk and stuck up in one issue.
First point : I want to sum up column value for column 7, 9, 11,13 and column15 if rows in column 5 are duplicates.No action to be taken for rows where value in column 5 is unique.
Second point : For... (1 Reply)
Discussion started by: as7951
1 Replies
LEARN ABOUT X11R4
pts_removeuser
PTS_REMOVEUSER(1) AFS Command Reference PTS_REMOVEUSER(1)NAME
pts_removeuser - Removes a user from a Protection Database group
SYNOPSIS
pts removeuser -user <user name>+ -group <group name>+
[-cell <cell name>] [-noauth] [-localauth] [-force]
[-help]
pts rem -u <user name>+ -g <group name>+
[-c <cell name>] [-n] [-l] [-f] [-h]
DESCRIPTION
The pts removeuser command removes each user or machine named by the -user argument from each group named by the -group argument.
To add users to a group, use the pts adduser command. To list group membership, use the pts membership command. To remove users from a
group and delete the group's entry completely in a single step, use the pts delete command.
CAUTIONS
AFS compiles each user's group membership as he or she authenticates. Any users who have valid tokens when they are removed from a group
retain the privileges extended to that group's members until they discard their tokens or reauthenticate.
OPTIONS -name <user name>+
Specifies the name of each user entry or the IP address (complete or wildcard-style) of each machine entry to remove.
-group <group name>+
Names each group from which to remove members.
-cell <cell name>
Names the cell in which to run the command. For more details, see pts(1).
-force
Enables the command to continue executing as far as possible when errors or other problems occur, rather than halting execution at the
first error.
-help
Prints the online help for this command. All other valid options are ignored.
-localauth
Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. Do not combine this flag with the -cell or
-noauth options. For more details, see pts(1).
-noauth
Assigns the unprivileged identity anonymous to the issuer. For more details, see pts(1).
EXAMPLES
The following example removes user smith from the groups "staff" and "staff:finance". Note that no switch names are necessary because only
a single instance is provided for the first argument (the username).
% pts removeuser smith staff staff:finance
The following example removes three machine entries, which represent all machines in the ABC Corporation network, from the group
"bin-prot":
% pts removeuser -user 138.255.0.0 192.12.105.0 192.12.106.0 -group bin-prot
PRIVILEGE REQUIRED
The required privilege depends on the setting of the fifth privacy flag in the Protection Database for the group named by the -group
argument (use the pts examine command to display the flags):
o If it is the hyphen, only the group's owner and members of the system:administrators group can remove members.
o If it is lowercase "r", members of the group can also remove other members.
(It is not possible to set the fifth flag to uppercase "R".)
SEE ALSO pts(1), pts_adduser(1), pts_examine(1), pts_membership(1), pts_setfields(1)COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas
Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
OpenAFS 2014-04-08 PTS_REMOVEUSER(1)