hi there,
im writing some script in awk; in few words i have a list from router (mac address- ip address) and the second list with only the mac addresses.
the thing is that i want search list from router for the first mac address; if found - print the ip address, if not print error; then search... (1 Reply)
Hello everyone!
I use a script to query for installed packages with yum (I use RHEL 4 with yum installed) and the output is redirected to a file. My script scan this file to find a package and the version of it.
The script works fine until I search for a package name with special characters.... (3 Replies)
Hi...
I am working on script to search some records in a file based on certain fields and each record is a ASCII fixed size. I was using awk to search based on certain condition. But the length of the record is too much that awk is giving
syntax error near unexpected token `('
Request... (5 Replies)
hi all,
Please can you help me with the awk searching where:
I have a master file where I need the string $12.
the string $ 12 varies between 3 and 4 characters and I need to bring only the characters ending in 68.
try this, but is so bad my search i know
awk-F, '(if... (8 Replies)
Hi Forum.
Is there a quick way to do the following search/replace within a block of data? I tried to google the solution but didn't really know what to look for.
I have the following text file (I want to search for a particular string "s_m_f_acct_txn_daily_a1" and replace the... (5 Replies)
I want to search a file in a specific location and I don't want to use find command.
I want to give the path also where the file is for searching it. Pls help (3 Replies)
This code shal search for the non-breaking space 0xA0 though it returns the error "fatal: attempt to use scalar 'nbs' as array" Can somebody help?
awk --non-decimal-data -v nbs="0xA0" '{if($0 in nbs) {print FILENAME, NR}}' *.txt (1 Reply)
I need to create one script in which I want to search in txt file , this txt file is having 10 columns , I want to check 4th column value if "BOY" & 10th column value =>500 it will print 4th column row value ,1st column row value & 10th column row value & store the same value in one file as... (2 Replies)
so i'm running a variation of the following command a few times in my script:
echo "${TOTALRunning}" | awk -F"" '/'"${PROCSEARCH}"'/ {print $2}' | tr '\n' '|'
unfortunately i cant paste the content of the variable TOTALRunning into this thread for security reasons.
what i want to do is... (9 Replies)
Discussion started by: SkySmart
9 Replies
LEARN ABOUT DEBIAN
m17ndebug
Debugging(3m17n) The m17n Library Debugging(3m17n)NAME
Debugging - Support for m17n library users to debug their programs.
Functions
MCharTable * mdebug_dump_chartab (MCharTable *table, int indent)
Dump a chartable.
MFace * mdebug_dump_face (MFace *face, int indent)
Dump a face.
MFont * mdebug_dump_font (MFont *font)
Dump a font.
MFontset * mdebug_dump_fontset (MFontset *fontset, int indent)
Dump a fontset.
MInputMethod * mdebug_dump_im (MInputMethod *im, int indent)
Dump an input method.
int mdebug_hook ()
Hook function called on an error.
MText * mdebug_dump_mtext (MText *mt, int indent, int fullp)
Dump an M-text.
MPlist * mdebug_dump_plist (MPlist *plist, int indent)
Dump a property list.
MSymbol mdebug_dump_symbol (MSymbol symbol, int indent)
Dump a symbol.
MSymbol mdebug_dump_all_symbols (int indent)
Dump all symbol names.
Detailed Description
Support for m17n library users to debug their programs.
The m17n library provides the following facilities to support the library users to debug their programs.
o Environment variables to control printing of various information to stderr.
o MDEBUG_INIT -- If set to 1, print information about the library initialization on the call of M17N_INIT().
o MDEBUG_FINI -- If set to 1, print counts of objects that are not yet freed on the call of M17N_FINI().
o MDEBUG_CHARSET -- If set to 1, print information about charsets being loaded from the m17n database.
o MDEBUG_CODING -- If set to 1, print information about coding systems being loaded from the m17n database.
o MDEBUG_DATABASE -- If set to 1, print information about data being loaded from the m17n database.
o MDEBUG_FONT -- If set to 1, print information about fonts being selected and opened.
o MDEBUG_FLT -- If set to 1, 2, or 3, print information about which command of Font Layout Table are being executed. The bigger number
prints the more detailed information.
o MDEBUG_INPUT -- If set to 1, print information about how an input method is running.
o MDEBUG_ALL -- Setting this variable to 1 is equivalent to setting all the above variables to 1.
o MDEBUG_OUTPUT_FILE -- If set to a file name, the above debugging information is appended to the file. If set to 'stdout', the
information is printed to stdout.
o Functions to print various objects in a human readable way. See the documentation of mdebug_dump_XXXX() functions.
o The hook function called on an error. See the documentation of mdebug_hook().
Author
Generated automatically by Doxygen for The m17n Library from the source code.
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 Debugging(3m17n)