04-09-2011
I believe you get this msg from command strace. 27 is the return value of write, which represent the number of chars writed to stdout. And this format is not the standard call of write; it is sort of fake code.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi
i would be grateful for some help on the following q.
"Write a script that takes two arguments. The first being a line of text, the second being your newly created file. The script should take the first argument and insert it into the very top ( the first line) of the file named in your... (6 Replies)
Discussion started by: mopimp
6 Replies
2. Programming
Hi friends
my C code is
int main()
{
system("cp <source> <destination>");
}
my question is
how to set variables for <source> and <destination>
how can we pass it to system() call.
can you suggest me
thankyou
kingskar (6 Replies)
Discussion started by: kingskar
6 Replies
3. Shell Programming and Scripting
How to write a shell script tht takes two arguments.The first being a line of text,the second being your newly created file(x no:of lines and content of ur choice).
The script should take the first argument and insert it into the very top(the first line)of the file named in your second argument.... (3 Replies)
Discussion started by: bobby36
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
Ho do I differentiate system call from library call?
for example if I am using chmod , how do I find out if it is a system call or library call?
Thanks
Muru (2 Replies)
Discussion started by: muru
2 Replies
5. SCO
After System power get failed
File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies
6. Shell Programming and Scripting
Hello, I was wondering if it were possible to call arguments passed to a script using a variable.
For example:
sh script.sh yes no good bad
x=$#
while
do
echo (last argument, then second last etc until first argument)
let x=($x-1)
done
should print out
bad
good
no (4 Replies)
Discussion started by: VanK
4 Replies
7. Shell Programming and Scripting
This command successfully gives me the clearcase views I want in stdout, one line per view name. Each view name appears to have no spaces.
cleartool lsview | grep -i `uname -n` | grep -v "ViewStorage\\|vgr_tools_sv" | cut -f 3 -d ' '
How can write a cygwin bash "for" loop that will iterate... (4 Replies)
Discussion started by: siegfried
4 Replies
8. Shell Programming and Scripting
I need to call a function within a code with $database and $ service as the arguments How do I proceed ? and how would a function be defined and these two arguments would be used inside the function?
calc_pref_avail $database $service
Best regards,
Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies
9. Shell Programming and Scripting
Dear All,
I want to know how can i call oracle function from shell script code . My oracle function have around 5 input parameters and one return value.
for name in *.csv;
do
echo "connecting to DB and start processing '$name' file at "
echo "csv file name=$x"
sqlplus -s scoot/tiger <!... (2 Replies)
Discussion started by: Balraj
2 Replies
10. Shell Programming and Scripting
I have a script that uses 2 arguments. I want to call the function part within this script using these same arguments. Below is what I came up with below script so far, any guidance would be helpful. Thank you!
cat backup.sh
#!/bin/bash
function usage {
echo "USAGE: $(basename $0)... (6 Replies)
Discussion started by: mbak
6 Replies
LEARN ABOUT SUSE
msgunfmt
MSGUNFMT(1) GNU MSGUNFMT(1)
NAME
msgunfmt - uncompile message catalog from binary format
SYNOPSIS
msgunfmt [OPTION] [FILE]...
DESCRIPTION
Convert binary message catalog to Uniforum style .po file.
Mandatory arguments to long options are mandatory for short options too.
Operation mode:
-j, --java
Java mode: input is a Java ResourceBundle class
--csharp
C# mode: input is a .NET .dll file
--csharp-resources
C# resources mode: input is a .NET .resources file
--tcl Tcl mode: input is a tcl/msgcat .msg file
Input file location:
FILE ...
input .mo files
If no input file is given or if it is -, standard input is read.
Input file location in Java mode:
-r, --resource=RESOURCE
resource name
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
The class name is determined by appending the locale name to the resource name, separated with an underscore. The class is located using
the CLASSPATH.
Input file location in C# mode:
-r, --resource=RESOURCE
resource name
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
-d DIRECTORY
base directory for locale dependent .dll files
The -l and -d options are mandatory. The .dll file is located in a subdirectory of the specified directory whose name depends on the
locale.
Input file location in Tcl mode:
-l, --locale=LOCALE
locale name, either language or language_COUNTRY
-d DIRECTORY
base directory of .msg message catalogs
The -l and -d options are mandatory. The .msg file is located in the specified directory.
Output file location:
-o, --output-file=FILE
write output to specified file
The results are written to standard output if no output file is specified or if it is -.
Output details:
-e, --no-escape
do not use C escapes in output (default)
-E, --escape
use C escapes in output, no extended chars
--force-po
write PO file even if empty
-i, --indent
write indented output style
--strict
write strict uniforum style
-p, --properties-output
write out a Java .properties file
--stringtable-output
write out a NeXTstep/GNUstep .strings file
-w, --width=NUMBER
set output page width
--no-wrap
do not break long message lines, longer than the output page width, into several lines
-s, --sort-output
generate sorted output
Informative output:
-h, --help
display this help and exit
-V, --version
output version information and exit
-v, --verbose
increase verbosity level
AUTHOR
Written by Ulrich Drepper.
REPORTING BUGS
Report bugs to <bug-gnu-gettext@gnu.org>.
COPYRIGHT
Copyright (C) 1995-1998, 2000-2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for msgunfmt is maintained as a Texinfo manual. If the info and msgunfmt programs are properly installed at your
site, the command
info msgunfmt
should give you access to the complete manual.
GNU gettext-tools 0.17 November 2007 MSGUNFMT(1)