03-13-2013
What makes you think you need to split the 1st column before modifying it?
Why not just modify the 1st 10 characters on the line instead of splitting, modifying the 1st 10 characters on the line, and merging?
This User Gave Thanks to Don Cragun For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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)
Discussion started by: superprogrammer
4 Replies
2. Shell Programming and Scripting
Can anyone tell me what this command will do?
split -b$SPLITSIZE - $file1 < $file2
Will it split file1 or file2? Please explain.
Malay (1 Reply)
Discussion started by: malaymaru
1 Replies
3. UNIX for Advanced & Expert Users
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)
Discussion started by: mohdtausifsh
7 Replies
4. UNIX for Advanced & Expert Users
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)
Discussion started by: rochitsharma
9 Replies
5. UNIX for Dummies Questions & Answers
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)
Discussion started by: ChicagoBlues
3 Replies
6. UNIX for Advanced & Expert Users
./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)
Discussion started by: arv600
7 Replies
7. UNIX for Dummies Questions & Answers
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)
Discussion started by: zvtral
2 Replies
8. Shell Programming and Scripting
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)
Discussion started by: Sanket Dalvi
11 Replies
9. UNIX for Beginners Questions & Answers
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)
Discussion started by: Amey Dixit
1 Replies
10. UNIX for Beginners Questions & Answers
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 CENTOS
brlapi_writearguments_t
brlapi_writeArguments_t(3) BrlAPI brlapi_writeArguments_t(3)
NAME
brlapi_writeArguments_t -
SYNOPSIS
#include <brlapi.h>
Data Fields
int displayNumber
unsigned int regionBegin
unsigned int regionSize
char * text
int textSize
unsigned char * andMask
unsigned char * orMask
int cursor
char * charset
Detailed Description
Structure containing arguments to be given to brlapi_write()
Field Documentation
unsigned char* brlapi_writeArguments_t::andMask
And attributes; applied first
char* brlapi_writeArguments_t::charset
Text charset. NULL means it is assumed to be 8bits, and the same as the server's. '' means current locale's charset. If no locale was
selected, defaults to NULL's meaning.
int brlapi_writeArguments_t::cursor
BRLAPI_CURSOR_LEAVE == don't touch, BRLAPI_CURSOR_OFF == turn off, 1 = 1st char of display, ...
int brlapi_writeArguments_t::displayNumber
Display number BRLAPI_DISPLAY_DEFAULT == unspecified
unsigned char* brlapi_writeArguments_t::orMask
Or attributes; applied after ANDing
unsigned int brlapi_writeArguments_t::regionBegin
Region of display to update, 1st character of display is 1
unsigned int brlapi_writeArguments_t::regionSize
Number of characters held in text, andMask and orMask.
char* brlapi_writeArguments_t::text
Text to display, must hold as many characters as the region fields expresses.
int brlapi_writeArguments_t::textSize
Size of text in bytes. If -1, strlen() is used for computing it.
Author
Generated automatically by Doxygen for BrlAPI from the source code.
Version 1.0 Mon Apr 1 2013 brlapi_writeArguments_t(3)