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
cds_intro
cds_intro(1m)cds_intro(1m)NAME
cds_intro - Introduction to the CDS commands
DESCRIPTION
The DCE Cell Directory Service provides the following management commands: The cdsbrowser command starts the CDS Browser utility. This
utility is based on the OSF/Motiftm graphical user interface. The Browser can display an overall directory structure as well as show the
contents of directories. The cdscp command starts the CDS control program. Use this command line interface to manage the CDS components
and the contents of your namespace.
The following commands are typically started automatically by scripts that execute as part of normal system start-up procedures. See the
reference pages for these commands before you try to use them. The cdsadv command starts the advertisement and solicitation daemon on the
local system and then starts clerks as needed by applications. Use this command only when troubleshooting because it creates and automati-
cally starts the CDS clerk whenever the host system is rebooted. The cdsd command restarts the CDS server. Use this command only when
troubleshooting because it starts the CDS server process automatically whenever the host system is rebooted. The gdad command starts the
GDA (Global Directory Agent) daemon. The GDA enables intercell communication, serving as a connection to other cells through the global
naming environment. The GDA is typically started automatically by scripts that execute as part of normal system start-up and shutdown pro-
cedures.
RELATED INFORMATION
Book: DCE Administration Guide
Commands: cdsadv(1m), cdsbrowser(1m), cdscp(1m), cdsd(1m), gdad(1m), dced(1m)cds_intro(1m)