02-16-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I typed the following commands:
176 lab2-37:~> ed newb.txt
74
1,6p
Hello
Hello World.
I need some sentences to edit.
add the script
OK Fn
2,4c
.
1,3p
Hello
add the script
OK Fn
q
? (4 Replies)
Discussion started by: endeavour1985
4 Replies
2. AIX
Hi,
From some time, we have noticed that our ascii files have started corrupting due to the presence of some random control characters (^@, ^M, ^H, ^D). The characters appear randomly on any file after the process that creates the file finishes. If we rerun the process, the files re creates... (0 Replies)
Discussion started by: aakashahuja
0 Replies
3. AIX
Hi,
This is suman. I am very new to Shell Scripting. I have a shell script, when I run that script, it is displaying un necessary question marks. But in the scritpt, there is no any " echo ? " statement. Can anybody please help me what could be the cause for displaying question marks ??
... (3 Replies)
Discussion started by: clnsharma123
3 Replies
4. Shell Programming and Scripting
I am trying to write a shell script that will allow the typing of a value, then using that value to replace data in a text file.
I suspect I need sed.
The format of the file is:
Variable1:Value1
Variable2:Value2
The interaction would be something like:
Shell Prompt: "Please enter the... (9 Replies)
Discussion started by: cleanden
9 Replies
5. Shell Programming and Scripting
Hi all,
I'm trying to FTP what looks like a simple .txt file from my Windows XP desktop to my UNIX server. I've tried using several programs to do this including UltraEdit and FTP Commander. I have tried sending it ascii, binary and even let the program decide. But every time it arrives in UNIX... (4 Replies)
Discussion started by: Korn0474
4 Replies
6. Shell Programming and Scripting
Hello,
Although I have found similar questions, I could not find advice that
could help with our problem.
The issue:
We have several hundreds text files containing repeated blocks of text
(I guess back at the time they were prepared like that to optmize
printing).
The block of texts... (13 Replies)
Discussion started by: samask
13 Replies
7. Shell Programming and Scripting
Hi All,
I am trying to replace a string in a oracle LDT file file extension .ldt.
I am using the following command:
sed "s/Test Number Viewer/Test Number 1/g" TEST_LIEN_FORM.ldt > TEST_LIEN_FORM.ldt.tmp
mv TEST_LIEN_FORM.ldt.tmp TEST_LIEN_FORM.ldt
But after the command, the file... (2 Replies)
Discussion started by: veena484
2 Replies
8. Shell Programming and Scripting
how to check that the "file path" entered by the user has the valid file. (6 Replies)
Discussion started by: Rashid Khan
6 Replies
9. Shell Programming and Scripting
Hello
Does the unix korn shell provide a function to convert number entered in command line argument to text or Character so that in next step i will convert Chr to Hex (6 Replies)
Discussion started by: aadityapatel198
6 Replies
10. UNIX for Beginners Questions & Answers
Say I have this line:
read -p "Enter 3 numbers: " num1 num2 num3;
I want to write a while loop that repeatedly asks for input if the number of inputs entered is not equal to 3.
I don't know the correct command to find the number of inputs entered. Help, please? (4 Replies)
Discussion started by: jejemonx
4 Replies
LEARN ABOUT DEBIAN
mfontset_modify_entry
mfontset_modify_entry(3m17n) The m17n Library mfontset_modify_entry(3m17n)
NAME
mfontset_modify_entry - Modify the contents of a fontset.
SYNOPSIS
int mfontset_modify_entry (MFontset * fontset, MSymbol script, MSymbol language, MSymbol charset, MFont * spec, MSymbol layouter_name, int
how)
DESCRIPTION
Modify the contents of a fontset. The mfontset_modify_entry() function associates, in fontset fontset, a copy of font with the script /
language pair or with charset.
Each font in a fontset is associated with a particular script/language pair, with a particular charset, or with the symbol Mnil. The fonts
that are associated with the same item make a group.
If script is not Mnil, it must be a symbol identifying a script. In this case, language is either a symbol identifying a language or Mnil,
and font is associated with the script / language pair.
If charset is not Mnil, it must be a symbol representing a charset object. In this case, font is associated with that charset.
If both script and charset are not Mnil, two copies of font are created. Then one is associated with the script / language pair and the
other with that charset.
If both script and charset are Mnil, font is associated with Mnil. This kind of fonts are called fallback fonts.
The argument how specifies the priority of font. If how is positive, font has the highest priority in the group of fonts that are
associated with the same item. If how is negative, font has the lowest priority. If how is zero, font becomes the only available font for
the associated item; all the other fonts are removed from the group.
If layouter_name is not Mnil, it must be a symbol representing a mdbFLT (font layout table). In that case, if font is selected for drawing
an M-text, that font layout table is used to generate a glyph code sequence from a character sequence.
RETURN VALUE
If the operation was successful, mfontset_modify_entry() returns 0. Otherwise it returns -1 and assigns an error code to the external
variable merror_code.
ERRORS
MERROR_SYMBOL
COPYRIGHT
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License
<http://www.gnu.org/licenses/fdl.html>.
Version 1.6.2 12 Jan 2011 mfontset_modify_entry(3m17n)