Sponsored Content
Top Forums Shell Programming and Scripting shell scripting and programmming Post 302492957 by michaelrozar17 on Wednesday 2nd of February 2011 02:31:59 AM
Old 02-02-2011
Since your recent post's input file is different from the original one you get like that..You could try the below, formatted according to the post#5's input file
Code:
sed -n '/revision 1.1$/N;s/\(.*\)\n.*\(auth.*\); .*/\1 \2/p' inputfile > outfile

This User Gave Thanks to michaelrozar17 For This Post:
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies

2. Programming

I am a newb to the C programmming language how do I make it interesting?

I am a newb to the C programmming language how do I make it interesting? (6 Replies)
Discussion started by: yunusabd786
6 Replies

3. Shell Programming and Scripting

Call Shell scripting from Perl Scripting.

Hi How to call a shell scripting through a Perl scripting? Actually I need some value from Shell scripting and passes in the Perl scripting. So how can i do this? (2 Replies)
Discussion started by: anupdas
2 Replies

4. What is on Your Mind?

Shell scripting vs Perl scripting

Hi all, I would like to start developping some good scripting skills. Do you think it would be best to start with shell scripting or Perl? I already got a fundation, really basics, in perl. but I am wondering what would be best to be good at first. Can you please help me determine which one to... (14 Replies)
Discussion started by: Pouchie1
14 Replies

5. Shell Programming and Scripting

shell scripting and programmming

what is much better ????? Perl or Shell Scripting???? (1 Reply)
Discussion started by: harjinder
1 Replies

6. What is on Your Mind?

Shell Scripting vs Perl scripting

Gents, I have been working in a Solaris/Unix environment for about 9 months. I took some linux classses online before getting the job. But, I am not very good at scripting. I want to learn how to script. Do you think that I should start with Shell scripting or Perl? I wanted to continue with... (2 Replies)
Discussion started by: Pouchie1
2 Replies

7. Shell Programming and Scripting

shell scripting and programmming

how to set shell env variable from perl script ?? (1 Reply)
Discussion started by: harjinder
1 Replies

8. Web Development

Perl scripting or shell scripting?

i am going to study any one of the scripting languages mentioned above(shell 0r perl scripting) . Which is having more scope for a fresher? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

9. Shell Programming and Scripting

shell scripting and programmming

hi i was trying the perl scripting with the new perforce and found the various issues which says u need to define a package in it..... wat can be the reason for this ....is there any basic requirement we need to install for running the perl scripts on perforce.... thanks kullu:rolleyes: (0 Replies)
Discussion started by: kullu
0 Replies

10. Shell Programming and Scripting

shell scripting and programmming

hi , i was trying a small script in sed as my main motive is to apppnd a sentence before a line and after a line. e.g this is the sentence which is present in many files and i want to append 2 more sentences in this sentence of mine. tanvi is good girl the result should come out as ... (1 Reply)
Discussion started by: kullu
1 Replies
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)
All times are GMT -4. The time now is 01:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy