hi what I am expecting is to list all the files in an specific an specific folder and patter like this /MYPATH/ will be fixed but the ini file could have more than one pattern in this EPMS_VO (there is a typo on the original post).
The problem is when I concatenate fixed dir FILEDIR with LINE it
intead of get this : I am getting this and failig:
So the condition FILESEXIST is always failing
Hi Friends,
I have a requirement
I need to concatenate the below two strings.
String 1 = /@jobid_at_
String 2 = value stored in ORACLE_SID
String 3 = string1 concatenated with String 2.
Please let me know how should i do it in UNIX.
Thanks, (2 Replies)
Hello friends!
Each line of my input file has this format:
word<TAB>tag1<blankspace>lemma<TAB>tag2<blankspace>lemma ... <TAB>tag3<blankspace>lemma
Of this file I need to eliminate all the repeated tags (of the same word) in a line, as in the example here below, but conserving both (all) the... (2 Replies)
if i use
echo "ravi"
echo "sankar"
it showing output
ravi
sankar
but i want output as ravi sankar
remember sankar should be in another echo statement only (2 Replies)
In any given file, wherever a certain data block exists I need to concatenate the values(text after each "=" sign) from that block. in that block. The block starts and ends with specific pattern, say BEGIN DS and END DS respectively. The block size may vary. A file will have multiple such blocks.... (12 Replies)
Hello!
Can anyone explain line 28 for me? I was thinking *a would be replaced by *b, but it actually appends *a to *b. I know it is related to pointer address, but could not figure it out by myself. Thanks a lot!
1 //Concatenate two strings
2
3 #include<stdio.h>
4 char *stradd (char *,... (5 Replies)
Hi,I'm trying to concatenate @example.com to each line of a file f1.txt. and push it into f2.txt. Here is the code i'm using.
for i in `cat /home/linux1/xxxxxxx/f1.txt`;
do
echo ${i}@example.com > /home/linux1/xxxxxx/f2.txt;
done
But above code only printing @example.com in f2.txt. what... (18 Replies)
Discussion started by: sam_bd
18 Replies
LEARN ABOUT DEBIAN
extract_font_range
extract_font_range(3alleg4) Allegro manual extract_font_range(3alleg4)NAME
extract_font_range - Extracts a range of characters from a font. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
FONT *extract_font_range(FONT *f, int begin, int end)
DESCRIPTION
This function extracts a character range from a font and returns a new font that contains only the range of characters selected by this
function. You can pass -1 for either the lower or upper bound if you want to select all characters from the start or to the end of the
font. Example:
FONT *myfont;
FONT *capitals;
FONT *fontcopy;
...
/* Create a font of only capital letters */
capitals = extract_font_range(myfont, 'A', 'Z');
/* Create a copy of the font */
fontcopy = extract_font_range(myfont, -1, -1);
...
destroy_font(capitals);
destroy_font(fontcopy);
RETURN VALUE
Returns a pointer to the new font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it
to avoid memory leaks.
SEE ALSO get_font_range_begin(3alleg4), get_font_range_end(3alleg4), merge_fonts(3alleg4), transpose_font(3alleg4), exfont(3alleg4)Allegro version 4.4.2 extract_font_range(3alleg4)