04-16-2008
Quote:
Originally Posted by
Bala24
Hey Varun,
Did you got what you wanted or still looking for the solution..
Hey,
Hope i'll give you good news soon, as far as this script is concerned !!
Thanks for being active and joining the forum for this issue.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All, :confused:
I have the following code.
var=' '
sqlplus user/pass@DB <<EOF
whenever sqlerror exit 1
select package.func() into $var from dual;
EOF
echo $var
But, this code does not work to display the value returned by the oracle function. Do we have to bind variables before... (3 Replies)
Discussion started by: rahulrathod
3 Replies
2. Programming
Dear all,
In my code,i am planning to use memset function to re-initialise an array before populating it everytime. Will using memset function be an overload to the program? (3 Replies)
Discussion started by: ranj@chn
3 Replies
3. Shell Programming and Scripting
i have a record like
1,23423,4545,6767,89898,3434,121212,123123,322
2,23233,3434,4545,56566,rxrx,e344343,343434,3434
1,23223,336,78787,78787,654,6767677,6877989,7878
i want to check the $6 field if its start with any letters, i want to move this record to some other file and keep rest of... (2 Replies)
Discussion started by: readycpbala
2 Replies
4. Shell Programming and Scripting
Thank everyone advanced.
Would you please tell me how to use the shell variable in the awk body?
I try follows but they all do not work, pls kindly help me:
1.
str=`cat file2`
awk 'BEGIN{print("'"$str"'"}' file1 > file3
2.
str=`cat file2`
awk 'BEGIN{print(ENVIRON}' file1 > file3
3.... (3 Replies)
Discussion started by: summer_cherry
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
i am trying to read a line from a file and add the values in a new file
eg
Input file
a1|a2|a3|a4|a5|a6
b1|b2|b3|b4|b5|b6
c1|c2|c3|c4|c5|c6
expected output
File one
a1|a2|a3
b1|b2|b3
c1|c2|c3 (3 Replies)
Discussion started by: rysh
3 Replies
6. Shell Programming and Scripting
Hi All,
I have a perl script(1.pl) that calls a c function defined in another file sample.c
#!/usr/bin/perl
my $re = 1;
my @s = `/home/PERL_SCRIPTING/Rough/sample pline $re 10`;
print "$_" foreach(@s);
The sample.c is as bwlow:
# include <stdio.h>
int pline(int, int);... (4 Replies)
Discussion started by: jisha
4 Replies
7. Shell Programming and Scripting
Hi
I have a scenario where i have a file name as
abcd_To_hfgh.20090456778_1.dat
I will get the filename as parameter
and i need a string in between second _ and first . i.e i need hfgh in this case.
Please help me with the script. This may not be awk script even if it can be... (2 Replies)
Discussion started by: dsdev_123
2 Replies
8. Shell Programming and Scripting
Hi All,I need to convert following field from a file
L2578978CLC/576/116804 => L2578978CLC/00000576/00168304
i have to append Zeros in the third and fourth number after slash / in the above string (total length of number should be 8).
means L2578978CLC/576/116804 should be converted to... (3 Replies)
Discussion started by: unknown123
3 Replies
9. Shell Programming and Scripting
Hi,
I've written a perl script with a nested foreach statement in it.
I have the line
code:
foreach $argn(@arguments) {
foreach $location (@path) {
system("find $location -name \"$argn\" -print >> results.txt");
... (2 Replies)
Discussion started by: tchoruma
2 Replies
LEARN ABOUT DEBIAN
fribidi_get_joining_type_name
fribidi_get_joining_type_name(3) Programmer's Manual fribidi_get_joining_type_name(3)
NAME
fribidi_get_joining_type_name - get joining type name
SYNOPSIS
#include <fribidi.h>
const char *fribidi_get_joining_type_name(FriBidiJoiningType j);
PARAMETERS
FriBidiJoiningType j
Input joining type.
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 returns the joining type name of a joining type. The returned string is a static string and should not be freed.
The type names are the same as ones defined in Table 8-2 Primary Arabic Joining Classes of the Unicode standard available at
http://www.unicode.org/versions/Unicode4.0.0/ch08.pdf#G7462.
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_types(3),
fribidi_get_mirror_char(3), fribidi_shape_mirroring(3), fribidi_shape(3)
GNU FriBidi 0.19.2 30 January 2006 fribidi_get_joining_type_name(3)