I'm extremely new to scripting and linux in general, so please bear with me. The class I'm taking gives virtually no instruction at all, and so I'm trying to learn everything off the web.
Anyway, I'm trying to extract characters that follow after a specific pattern ( '<B><FONT FACE="Arial">' ) but... (3 Replies)
I have a requirement where i have to read from a .sh file a text lying bet characters like 'SELECT' & ';'...Please help me out in this. I am new to shell scripting. (2 Replies)
Hi All,
i am trying to remove all special charecters().,/\~!@#%^$*&^_- and others from a tab delimited file.
I am using the following code.
while read LINE
do
echo $LINE | tr -d '=;:`"<>,./?!@#$%^&(){}'|tr -d "-"|tr -d "'" | tr -d "_"
done < trial.txt > output.txt
Problem
... (10 Replies)
I have a text file that looks like this:
I want to delete the last character of first column in all rows so that my output looks like this:
Thanks a lot! (1 Reply)
Can I just say, this is such a frustrating and yet enormously rewarding field of study. I'm in the middle of configuring GeekTool (Uh oh, stupid n00b) and I really only have one question.
I'm using Automator to grab a RSS feed, having GeekTool continually run that application every 10 minutes,... (7 Replies)
When I use vi to see what's in the file I get this:
int add1(int x) {^M return x + 1;^M}
^Mint subtract1(int x) {^M return x - 1;^M}
^Mint double_it(int x) {^M return x * 2;^M}
^Mint halve_it(int x) {^Mreturn x / 2;^M}
^Mint main() {^M int myint;^M int result;^M ... (2 Replies)
Hi,
I have a text file which when I do a 'cat' on it looks like below with the OK’s showing in green and any FAIL showing in red.
cat filename output:
===== MySQL Query Check =====
DB mpuser is alive. 733 = Expected 733 Tables. OK ]
DB mpuser_wf is alive. 61 =... (6 Replies)
Version Info:
$ cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.8 (Tikanga)
$
$ uname -a
Linux stryker138 2.6.18-308.13.1.el5 #1 SMP Thu Jul 26 05:45:09 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
I redirected manpage of ksh command's output to a text file as shown... (6 Replies)
I am using flatfile, in that flat file we are getting the junk chars
1)I21001f<82>^Me<85>!h49 Service Charge
2) I21001f‚
e...!h49 Service Charge
please tell me how to remove all junk chars in unix scripts. (1 Reply)
Discussion started by: Talari
1 Replies
LEARN ABOUT SUSE
wmc
WMC(1) Wine Developers Manual WMC(1)NAME
wrc - Wine Message Compiler
SYNOPSIS
wmc [options] [inputfile]
DESCRIPTION
wmc compiles messages from inputfile into FormatMessage[AW] compatible format encapsulated in a resourcescript format. wmc outputs the
data either in a standard .bin formatted binary file, or can generated inline resource data.
wmc takes only one inputfile as argument (see BUGS). The inputfile normally has extension .mc. The messages are read from standard input if
no inputfile is given. If the outputfile is not specified with -o, then wmc will write the output to inputfile.{rc,h}. The outputfile is
named wmc.tab.{rc,h} if no inputfile was given.
OPTIONS -B x Set output byte-order x={n[ative], l[ittle], b[ig]}. Default is n[ative].
-c Set 'custom-bit' in message-code values.
-d NON-FUNCTIONAL; Use decimal values in output
-D Set debug flag. This results is a parser trace and a lot of extra messages.
-h Print an informative usage message.
-H file
Write headerfile to file. Default is inputfile.h.
-i Inline messagetable(s). This option skips the generation of all .bin files and writes all output into the .rc file. This encoding is
parsable with wrc(1).
-o file
Output to file. Default is inputfile.rc.
-u Assume that the inputfile is in unicode.
-U Write resource output in unicode formatted messagetable(s).
-v Show all supported codepages and languages.
-V Print version end exit.
-W Enable pedantic warnings.
EXTENSIONS
The original syntax is extended to support codepages more smoothly. Normally, codepages are based on the DOS-codepage from the language
setting. The original syntax only allows the destination codepage to be set. However, this is not enough for non-DOS systems which do not
use unicode source-files.
A new keyword Codepages is introduced to set both input and output codepages to anything one wants for each language. The syntax is similar
to the other constructs:
Codepages '=' '(' language '=' cpin ':' cpout ... ')'
The language is the numerical language-ID or the alias set with LanguageNames. The input-codepage cpin and output-codepage cpout are the
numerical codepage-IDs. There can be multiple mapping within the definition and the definition may occur more than once.
AUTHORS
wmc was written by Bertho A. Stultiens.
BUGS
The message compiler should be able to have multiple inputfiles and combine them into one outputfile. This would enable the splitting of
languages into separate files.
Unicode detection of the input is suboptimal, to say the least. It should recognize byte-order-marks (BOM) and decide what to do.
Decimal output is completely lacking. Don't know whether it should be implemented because it is a, well, non-informative format change. It
is recognized on the commandline for some form of compatibility.
AVAILABILITY
wmc is part of the wine distribution, which is available through WineHQ, the wine development headquarters, at http://www.winehq.org/.
SEE ALSO wine(1), wrc(1)Wine 1.2-rc6 October 2005 WMC(1)