08-16-2010
Quote:
Originally Posted by
jlliagre
Perhaps what you are describing is partially Gnu/Linux specific.
The interpreter directive has definitely the effect I was suspected under Solaris:
Looking at the version of Kshell that you are running I noticed that my version is older, both on my Linux and FreeBSD boxes. Trying the test again with the latest Kshell (6/2010) I was able to indeed duplicate your results. I haven't peeked at the Kshell source, or run an strace, but I'm guessing that somewhere between the version I was running and the 2009-10-12 version, Kshell started looking at the target command file skipping the vfork() call in the case that it found a #! directive.
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I'm doing automation task for my team and I just started to learn unix scripting so please shed some light on how to do this:
1) I have 2 sets of datafiles - datafile A and B. These datafiles must be loaded subsequently and cannot be loaded concurrently.
2) So I loaded datafile A... (10 Replies)
Discussion started by: luna_soleil
10 Replies
2. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
3. Shell Programming and Scripting
Hi Experts, we do have a shell script for Unix Solaris, which will kill all the process manullay, it used to work in my previous env, but now it is throwing this error.. could some one please help me to resolve it
This is how we execute the script (and this is the requirement) ... (2 Replies)
Discussion started by: jonnyvic
2 Replies
4. Shell Programming and Scripting
Hey all, I need to launch a script from within 2 other scripts that can run independently of the two parent scripts... Im having a hard time doing this, if anyone knows how please let me know.
More detail.
ScriptA (bash), ScriptB (ksh), ScriptC (bash)
ScriptA, launches ScriptB
ScirptB,... (7 Replies)
Discussion started by: trey85stang
7 Replies
5. Shell Programming and Scripting
get email notification from from system when a process from XXXX user takes longer than 15 min run.Let me know the time estimation for the same.
hi ,any one please tell me , how to write a script to get email notification from system when a process from as mentioned above a xxxx user takes... (1 Reply)
Discussion started by: kirankrishna3
1 Replies
6. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
7. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
9. Shell Programming and Scripting
I am writing a script to kick off a process to gather logs on multiple nodes in parallel using "&". These processes create individual log files. Which I would like to filter and convert in CSV format after they are complete. I am facing following issues:
1. Monitor all Processes parallelly.... (5 Replies)
Discussion started by: shunya
5 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT DEBIAN
xview_msgfmt
msgfmt(1) General Commands Manual msgfmt(1)
NAME
msgfmt - create a message object from a message file
SYNOPSIS
msgfmt [ -v ] filename.po ...
DESCRIPTION
msgfmt creates a message object filename .mo file from the portable message file filename.po.
The .po file contains strings extracted from source code. .po files can be edited, and the messages in them can changed to accomodate any
language supported by the system.
The xgettext command (see xgettext(1)) can be used to create the default.po file.
The msgfmt command does not modify the portable object files.
Portable Object Files
Each .po file contains one or more lines. Each line contains either a comment or a statement. Comments start the line with a hash mark
(#) and end with the newline character and are ignored.
Each directive starts on a new line and is separated from <value> by white space (such as one or more space or tab characters). <value>
consists of one or more quoted strings separated by white space or <CR>. The following are valid directives:
domain domainname
msgid message_identifier
msgstr message_string
The domain directive identifies all following directives until another domain directive is encountered as applying to the domain domain-
name. The domainname is a string up to MAXDOMAIN bytes long, and can contain any characters allowed in legal filenames. Until the first
domain directive is encountered in the file, all target strings belong to the default domain. The default domain is called default.
The msgid directive specifies the message identifier for the following msgstr directive. The message_identifier string identifies a target
string at retrieval time. Every statement containing a msgid directive must be followed by a statement containing a msgstr directive.
The msgstr directive specifies the target string associated with the message_identifier string declared in the immediately preceding msgid
directive.
OPTIONS
-v Verbose. List duplicate message identifiers. Message strings are not redefined.
EXAMPLES
The following command creates a named .mo file for each domain named in the portable message objects filename1.po and filename2.po.
msgfmt filename1.po filename2.po
Running msgfmt(1) on the following sample .po file creates two .mo files, named first.mo and second.mo.
domain "first.mo"
msgid "aao"
msgstr "first sample message"
domain "second.mo"
msgid "bbo"
msgstr "second sample message"
SEE ALSO
xgettext(1), gettext(3).
25 July 1990 msgfmt(1)