07-02-2007
Block Comment in Shell script
how to put multiline comments in a shell script like /* Some code */ in C language?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
any way i can block edit a program ?
i wrote a macro to do it in emacs
so it works like :
void foo ( int ... ) ; // collapsed.
it moves the body to temperary buffer, but i can't rely on this :( (2 Replies)
Discussion started by: max_475
2 Replies
2. Shell Programming and Scripting
OK so I've inherited a set of scripts that do some work on a database. They do all have a standard comment block at the beginning that has good information on the script. I would like to generate a quick web page report that lists the script name and the description lines (for now it may be... (1 Reply)
Discussion started by: khuilman
1 Replies
3. Shell Programming and Scripting
Requirement is:
1. comment and uncomment the line with Shell
Script: /opt/admin/fastpg/bin/fastpg.exe -c -=NET (using fastpg.exe as a search option)
2. display = "Commented" (when its commented) and display = "Uncommented" (when its uncommented)
Its urgent, please let me asap!!!
Thanks in... (2 Replies)
Discussion started by: anthonyraj75
2 Replies
4. Shell Programming and Scripting
Again a comment removal requirement from me, refer my previous problem & solution for removing comment from ruby scripts: https://www.unix.com/shell-programming-scripting/118296-best-way-removing-comment-ruby-program.html
This time, it is for stripping of comments from Shell Script. I search for... (2 Replies)
Discussion started by: thegeek
2 Replies
5. Shell Programming and Scripting
hi,
i need my bash script to find regex in xml file.. and comment 2 lines before and after the line that contains regex.. can't use # needs to be <!-- at the beginning and --> and the end of the comment.
so eg..
first block
<filter>
<filter-name>MyRegEx</filter-name>
... (11 Replies)
Discussion started by: Poki
11 Replies
6. UNIX for Dummies Questions & Answers
Is thery any way to give comment to multiple line without explicitly specifying # at the begining of each line ? (2 Replies)
Discussion started by: hiten.r.chauhan
2 Replies
7. UNIX for Dummies Questions & Answers
cd path
line1
line2
line3
line4
line5
Lets say thats the sample script...So say if i have to comment the above script, which would be the better way so that whenever i want, i cud comment or uncomment the same.
Thanks (1 Reply)
Discussion started by: saggiboy10
1 Replies
8. Shell Programming and Scripting
I want to search for a block of text in httpd.conf that between two strings and comment it. There are multiple blocks with "<Directory.. and </Directory>"
<Directory "${ORACLE_INSTANCE}/config/${COMPONENT_TYPE}/${COMPONENT_NAME}/htdocs">
#
# Possible values for the Options directive are... (3 Replies)
Discussion started by: kchinnam
3 Replies
9. Shell Programming and Scripting
Just began to learn on Shell Script. I got an exercise from my friend. I know how to make this happen in C, but I'm not familiar with Shell Script. Hope I can get some help from all of you.
I want to write a bash script to comment code blocks in a bash source file. What I mean comment is '#', I... (1 Reply)
Discussion started by: HiFuture0801
1 Replies
10. Shell Programming and Scripting
I am using : << cut / cut to comment out block of code.
Works fine on few lines of script, then it gives me this cryptic error when I try to comment out about 80 lines.
The "warning " is at last line of script.
done < results
169 echo "END read all positioning parameters"
170... (8 Replies)
Discussion started by: annacreek
8 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)