Hi I have a sequence which looks like this
i want to split the first colum into 2 columns seperating first 10 bits as column 1 and then remainnig as column 2 and retain the remaining columns as it is.
i am doing this becoz i want to modify the first column and after modification i want to merge again.
So is it possible to first split the 1st column into 2 and then after my modification merge them again?
What command can i use to split and merge them
Last edited by Scott; 03-13-2013 at 01:23 PM..
Reason: Please use code tags, and a meaningful thread title
I want to split a file containing millions of records.
I am issuing the command
split -l 20000 filename which will split the file in 20K records each.
It works fine except in some files, data after one particular field is lost( the field with space).
Say the record is ... (4 Replies)
HI! All
iam using Split command to split a large .txt file in to smaller files,
The syntax iam using
split -25000 Product.txt
iam getting four output files but not in .txt format but in some other format ,
when i checked the properties the Type of the output files is Type
can any... (7 Replies)
Hi,
I have to split a line of the form
1232423#asdf#124324#54534#dcfg#wert#rrftt#4567
into an array in perl. I am using
@fields;
@fields=split('#',$line);
if($fields eq "1")
But this is not working. By using the syntax, the statements in "if" are never executed. Please help.... (9 Replies)
Is there an option or a way with the split command to rename the partitioned files with a counter. For example, can the files testaa, testab, testac be renamed to test1, test2, test3 from the split command without explicilty renaming files.
Thanks,
- CB (3 Replies)
./myapp | split -b 10m -d -a 1 - "myappLog"
here split command is reading the input from the output of myapp and it will write the text in to file where in each file size is 10MB and it will create upto 10 files.
I have observed split is flushing the data for every 4096 bytes. if my... (7 Replies)
hi all,
i have problem with my script in unix ...i have script with split -d (--numeric-suffixes) in linux its working but in solaris machine the option -d isn't have
so how to i can change split -d (this output) will same in output solaris can i change with awk and how do that
thx before (2 Replies)
Hi,
There is an awk command in script and it is running successfully.
I want to split that command in 2 lines.
I have tried using '\' but its not working..
Please suggest me the solution. (11 Replies)
Hi All,
I want to split the file after size gets above 100kb.
So I am using below command.
split -b 100kb File.txt Test
But after first file, my record is breaking as in middle of the record, size of file is getting above 100kb. So after splitting half record is in one file and half... (1 Reply)
Hi All,
I have a txt file which I would like to partition into 2 separate output files. I would like to partition the odd or even groups of 4 lines from the txt file. So I would like lines 1-4 to go to file1, and lines 5-8 to go to file2, and so on until the whole txt file is divided into two... (1 Reply)
Discussion started by: landrjos
1 Replies
LEARN ABOUT HPUX
dcecp_cdsclient
cdsclient(1m)cdsclient(1m)NAME
cdsclient - A dcecp object that represents a Cell Directory Service client
SYNOPSIS
cdsclient disable client_name
cdsclient help [operation | -verbose]
cdsclient operations
cdsclient show client_name
DESCRIPTION
The cdsclient object allows some low-level control over a CDS client in the local cell. Use it to disable a running client by shutting it
down gracefully and to display a limited set of the attribute and counter information that is currently known to the client.
ARGUMENTS
The name of one CDS client running somewhere in the local cell. Specify the client name using one of the formats:
/.../cell_name/hosts/host_name/cds-clerk
/.:/hosts/host_name/cds-clerk The name of the cdsclient operation for which to display help information.
ATTRIBUTES
The number of authentication failures encountered by the client since it started. The number of times the client bypassed the cache when
looking for information. The number of times the client used the cache when looking for information. The date-time stamp representing
when the current client started. The number of non-read, non-write operations processed by the client since it started. The number of
protocol errors encountered by the client since it started. The number of read operations processed by the client since it started. The
number of write operations processed by the client since it started.
OPERATIONS
cdsclient disable
Disables the specified CDS client. The syntax is as follows: cdsclient disable client_name
The specified client must be running somewhere in the local cell, and you must have the privileges to access that machine. This operation
returns an empty string on success.
Privileges Required
You must have d (delete), w (write), and c (create) permissions on the namespace entry of the clerk.
Example
dcecp> cdsclient disable /.:/hosts/blech/cds-clerk dcecp>
cdsclient help
Returns help information about the cdsclient object and its operations. The syntax is as follows: cdsclient help [operation | -verbose]
Options Displays information about the cdsclient object.
Used without an argument or option, cdsclient help returns brief information about each cdsclient operation. The optional operation argu-
ment is the name of an operation about which you want detailed information. Alternatively, you can use the -verbose option to display
detailed information about the cdsclient object itself.
Privileges Required
No special privileges are needed to use the cdsclient help command.
Examples
dcecp> cdsclient help disable Disables the specified CDS client. show Returns attribute information about the
named CDS client. help Prints a summary of command-line options. operations Returns a list of the valid opera-
tions for this command. dcecp>
cdsclient operations
Returns a list of the operations supported by the cdsclient object. The syntax is as follows: cdsclient operations
The list of available operations is in alphabetical order except for help and operations, which are listed last.
Privileges Required
No special privileges are needed to use the cdsclient operations command.
Examples
dcecp> cdsclient operations disable show help operations dcecp>
cdsclient show
Returns attribute information about the specified CDS client. The syntax is as follows: cdsclient show client_name
The attributes returned mostly represent counter information, which can be used to help isolate a problems with a CDS client. The order
the attributes are returned is fixed within CDS.
Privileges Required
You must have r (read) permissions on the namespace entry.
Example
dcecp> cdsclient show /.:/hosts/blech/cds-clerk {Creation_Time 1995-10-11-15:09:45.187-04:00I-----} {Protocol_Errors 0} {Authentica-
tion_Failures 0} {Read_Operations 78935} {Cache_Hits 55007} {Cache_Bypasses 23726} {Write_Operations 50} {Miscellaneous_Operations 53}
dcecp>
RELATED INFORMATION
Commands:
cdsadv(1m),
dcecp(1m),
dcecp_cds(1m).
cdsclient(1m)