-Hi, I have a problem with parcing/spliting a file record into two parts and assigning the split parts to two viriables. The record is as follows:
ftrn facc ttrd feed xref fsdb fcp ruldb csdb omom fordr ftxn fodb fsdc texc oxox reng ttrn ttxn fqdb ... (5 Replies)
Hi ,
I have a requirement to split the record based on particular match using UNIX.
Case1:
Input Record :
10.44.48.63;"Personals/Dating;sports";1441
Output Records :
10.44.48.63;Personals/Dating;1441;Original
10.44.48.63;sports;1441;Dummy
Case2:
Input Record : ... (5 Replies)
I want to keep only records contain length is 10 other records should remove from my original file without redirecting to other output file.
Source
1234567890
123456789011234
abcdefghil
Expected Result
1234567890
abcdefghil (9 Replies)
Hi,
My inputfile contains field separaer is ^.
12^inms^
13^fakdks^ssk^s3
23^avsd^
13^fakdks^ssk^a4
I wanted to print only 2 delimiter occurence i.e
12^inms^
23^avsd^ (4 Replies)
Hi ,
I have file with all records in one line, which needs to split it to have a fixed length.Am trying to execute the below script for the same
FILENAME="$1"
while line LINE
do
echo $LINE | awk 'BEGIN{n=1}{while(substr($0,n,10)){print substr($0,n,10);n+=10}}'
done < $FILENAME
it... (4 Replies)
Hi,
Help required to split record value and write to new row.
Input
a~b~c~value in ('3','4','5')~test
output
a~b~c~3~test
a~b~c~4~test
a~b~c~5~test
input
a~b~c~value in ('3','4')~test
output
a~b~c~3~test
a~b~c~4~test (8 Replies)
Hi Friends,
source
....
col1,col2,col3
a,b,1;2;3
here colom delimeter is comma(,).
here we dont know what is the max length of col3 means now we have 1;2;3 next time i will receive 1;2;3;4;5;etc...
required output
..............
col1,col2,col3
a,b,1
a,b,2
a,b,3
please give me... (5 Replies)
Hi All,
Need help in writing a shell script for the below requirement:
i/p: 123456789
o/p:
123
456
789
Req: one record should be split into multiple based on the length ( after every third character it should be moved into next line)
Thanks in Advance (14 Replies)
Hi,
I have one tab delimited file which is having multiple store_ids in first column seprated by pipe.I want to split the file on the basis of store_id(separating 1st record in to 2 records ).
I tried some more options like below with using split,awk etc ,But not able to get proper output. can... (1 Reply)
Hi,
I have received a file which is 20 GB. We would like to split the file into 4 equal parts and process it to avoid memory issues.
If the record delimiter is unix new line, I could use split command either with option l or b.
The problem is that the line terminator is |##|
How to use... (5 Replies)
Discussion started by: Ravi.K
5 Replies
LEARN ABOUT CENTOS
kpsewhere
kpsewhere(1) teTeX kpsewhere(1)NAME
kpsewhere - Expanding kpsewhich to separately iterate over each texmf tree listed in $TEXMF.
SYNOPSIS
kpsewhere [ kpsewhich-OPTIONS... ] COMMAND
DESCRIPTION
kpsewhere is an extension to kpsewhich (as where is for which in tcsh). The intention is to provide a way to check for conflicts/shadowed
files. It will, however, only find one file per TEXMF tree.
OPTIONS
-h|--help
show a short help message
* all other options are directly handed to kpsewhich
SEE ALSO kpsewhich(1)
Kpathsea: A library for path searching (info or DVI file)
Web page: <http://tug.org/teTeX/>
BUGS
None known, but report any bugs found to <tetex@dbs.uni-hannover.de> (mailing list).
AUTHOR
kpsewhere was written by Hans Fredrik Nordhaug <hans.fredrik@nordhaug.no>, additions by Thomas Esser <te@dbs.uni-hannover.de>, in 2003 and
2004. kpsewhere is in the public domain.
This manual page was written by Frank Kuster <frank@kuesterei.ch>, for the Debian GNU/Linux system. It is also in the public domain and
may be used and changed by others without contacting the author. Any mistakes or omissions in the manual page are my fault; inquiries
about or corrections to this manual page should be directed to me (and not to the primary author).
teTeX March 2004 kpsewhere(1)