06-23-2013
I would suggest using awk instead. There are several examples of using awk to join 2 files in this forum.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I need to develop a script to join multiple three lines in a log file into one line for processing with awk and grep. I looked at tr with no success. The first line contains the date time information. The second line contains the error line. The third line is a blank line.
Thanks,
Mike (3 Replies)
Discussion started by: bubba112557
3 Replies
2. Shell Programming and Scripting
Hi guys,
I've got a log file which has entries that look like this:
-------------------------------------------------------------------------------
06/08/04 07:57:57
AMQ9002: Channel program started.
EXPLANATION:
Channel program 'INSCCPQ1.HSMTSPQ1' started.
ACTION:
None. ... (3 Replies)
Discussion started by: m223464
3 Replies
3. Shell Programming and Scripting
I created a batch file (./mybatch) that need to run few programs
at a sequnece but i need a command like the DOS call command in order
to return to the main batch file to proceed the sequence
example:
cd /dir1/path/dir2
invoke program1
cd /dir3/path2/ <--- i want to return here (2 Replies)
Discussion started by: eynkesef
2 Replies
4. UNIX for Dummies Questions & Answers
hi all
i have a directory which contain file
20060101-66666-09-08-0.tif
20060101-77777-11-12-0.tif
20051231-54221-66-55.tif
20051231-54221-66-44.tif
as you can see the name of the two last files is shorter then the first ones
i want to take all the files with the shorter name and to add to... (7 Replies)
Discussion started by: naamas03
7 Replies
5. Shell Programming and Scripting
Hello!
I am very new to Linux and I do not know where to begin...
I have a column with >64,000 elements (that are not in numberical order) like this:
name
2
5
9
.
.
.
64,000
I would like to transpose this column into a row that will later become the header of a very large file... (2 Replies)
Discussion started by: doobedoo
2 Replies
6. Shell Programming and Scripting
Hello, I know how to join multiple files using the cat function. I want to do something a little more advanced. Basically I want to put the filename in the first column...
One thing to note is that the file is tab delimited.
e.g.
file1.txt
joe 1 4 5 6 7 3
manny 2 3 4 5 6 7
... (4 Replies)
Discussion started by: phil_heath
4 Replies
7. UNIX for Dummies Questions & Answers
sir... am having a data file of customer master., containing some important fields as a set one line after another.,
what i want is to have one set of these fields(rows) one after another in line.........then the second set... and so on... till the last set completed.
... (0 Replies)
Discussion started by: KANNI786
0 Replies
8. Shell Programming and Scripting
I’m writing a bash shell script and I want to join lines together where two variables on each line are the same ie.
12345variablestuff43212morevariablestuff
12345variablestuff43212morevariablestuff
34657variablestuff78945morevariablestuff
34657variablestuff78945morevariablestuff... (12 Replies)
Discussion started by: Cultcha
12 Replies
9. Shell Programming and Scripting
I'm looking for a way to join lines in a file; e.,g consider the following
R|This is line 1
R|This is
line 2
R|This is line 3
R|This is line 4
R|This is
line 5
what i want to end up with is
R|This is line 1
R|This is line 2
R|This is line 3
R|This is line 4
R|This is line 5
so... (15 Replies)
Discussion started by: Storms
15 Replies
10. UNIX for Dummies Questions & Answers
hello masters,
I am working with csv files that open just fine in excel, but have sub-fields which are comma separated as well.
a 3 column csv looks like
a,b,"c,d,e"
f,g,h
How do I make join or sort believe that "c,d,e" is just 1 field? (8 Replies)
Discussion started by: senhia83
8 Replies
LEARN ABOUT CENTOS
fribidi_get_joining_types
fribidi_get_joining_types(3) Programmer's Manual fribidi_get_joining_types(3)
NAME
fribidi_get_joining_types - get joining types for an string of characters
SYNOPSIS
#include <fribidi.h>
void fribidi_get_joining_types
(
const FriBidiChar *str,
const FriBidiStrIndex len,
FriBidiJoiningType *jtypes
);
PARAMETERS
const FriBidiChar *str
Input string.
const FriBidiStrIndex len
Input string length.
FriBidiJoiningType *jtypes
Output joining types.
Possible values for a FriBidiJoiningType are as follows:
FRIBIDI_JOINING_TYPE_U NUn-joining, e.g. Full Stop.
FRIBIDI_JOINING_TYPE_R Right-joining, e.g. Arabic Letter Dal.
FRIBIDI_JOINING_TYPE_D Dual-joining, e.g. Arabic Letter Ain.
FRIBIDI_JOINING_TYPE_C Join-Causing, e.g. Tatweel, ZWJ.
FRIBIDI_JOINING_TYPE_T Transparent, e.g. Arabic Fatha.
FRIBIDI_JOINING_TYPE_L Left-joining, i.e. Fictional.
FRIBIDI_JOINING_TYPE_G IGnored, e.g. LRE, RLE, ZWNBSP.
DESCRIPTION
This function finds the joining types of an string of characters. See fribidi_get_joining_type for more information about the joining
types returned by this function.
SEE ALSO
fribidi_charset_to_unicode(3), fribidi_unicode_to_charset(3), fribidi_parse_charset(3), fribidi_shape_arabic(3), fribidi_get_par_direc-
tion(3), fribidi_get_par_embedding_levels(3), fribidi_reorder_line(3), fribidi_get_bidi_type(3), fribidi_get_bidi_types(3),
fribidi_get_bidi_type_name(3), fribidi_debug_status(3), fribidi_mirroring_status(3), fribidi_set_mirroring(3), fribidi_reorder_nsm_sta-
tus(3), fribidi_set_reorder_nsm(3), fribidi_log2vis_get_embedding_levels(3), fribidi_get_type(3), fribidi_get_type_internal(3),
fribidi_remove_bidi_marks(3), fribidi_log2vis(3), fribidi_join_arabic(3), fribidi_get_joining_type(3), fribidi_get_joining_type_name(3),
fribidi_get_mirror_char(3), fribidi_shape_mirroring(3), fribidi_shape(3)
GNU FriBidi 0.19.3 25 August 2012 fribidi_get_joining_types(3)