8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Folks,
I have a text file with a thousand lines consisting of words or a group of words separated by commas.
I would like to randomize / shuffle the words on each line.
Eg; file.txt
Linux,Open,Free,Awesome,Best Things in Life,The Greatest
Laptop,PC,Tablet,Home Computers,Digital... (2 Replies)
Discussion started by: martinsmith
2 Replies
2. Red Hat
I'm building a yum mirror on Oracle Enterprise Linux, which is a fork of RHEL. I'm using uln-yum-mirror to create and maintain the mirror. In the Yum client, more specifically in /etc/yum.conf there is a throttle setting.
Is there a like feature in /etc/sysconfig/uln-yum-mirror? If so, what is... (0 Replies)
Discussion started by: os2mac
0 Replies
3. Solaris
I get poor performance when sftp'ing a file to a server on a SunOS 5.10 system, with Sun_SSH_1.1.4. The same client performs much better to a linux system at the same site.
From a TCPdump, it appears that the Solaris server is throttling the thruput. After proceeding normally for a while, the... (0 Replies)
Discussion started by: AGermain
0 Replies
4. UNIX for Dummies Questions & Answers
Ok, so let's say that I have a file like the following:
I want to create 100 replicates of this file, except that for each file, I want different randomized combinations of either A or B at the end of each line so that I would end up with files like the following:
and
etc.
I... (1 Reply)
Discussion started by: Scatterbrain26
1 Replies
5. UNIX for Advanced & Expert Users
Is there a way of throttling a process resources, something akin to limits but for processes not users? ie I want processX to be restricted in the amount of memory it can consume. For process cpu I guess I can simply nice the process, but total memory consumption is my primary concern. (3 Replies)
Discussion started by: humbletech99
3 Replies
6. Shell Programming and Scripting
Hey guys,
Need your help/suggestions
I have a log file which has 5K lines in it, I need to send only 200 lines to an application at a time and delete the 200 lines from log fileafter its been fed to application.
The script should keep on running until all 5K has been... (2 Replies)
Discussion started by: achararun
2 Replies
7. Windows & DOS: Issues & Discussions
:confused: folder option is dissapiaring in tool menu
iam formatting c drive after removal of this virus
& also regedit is also not opening the messerge say's administrater disabled
with out formattiung how ican solve this problem i.e iwant to get folder options& regedit (2 Replies)
Discussion started by: seshumohan
2 Replies
8. UNIX for Dummies Questions & Answers
can linux get a virus on the boot sec from windows? becuse my buddys computer micro trend cmos virus keeps telling him that
there is a boot sec virus on my hdd is that possable or is the box
being dumb and looking at the linux boot as a virus? it was set up as a windows box not a linux... (4 Replies)
Discussion started by: amicrawler2000
4 Replies
MAKETEXT(1p) User Contributed Perl Documentation MAKETEXT(1p)
NAME
maketext - translate and make messages
SYNOPSIS
maketext [OPTION] [--domain=TEXTDOMAIN] MSGKEY [PARAM...]
maketext [OPTION] -s MSGID [PARAM...]
DESCRIPTION
The "maketext" script translates a natural language message into the user's language, by looking up the translation in a message MO file,
and process the plural transformation with Maketext.
The "maketext" script is a command-line interface to Locale::Maketext::Gettext(3) (and Locale::Maketext(3)). It can be used in shell
scripts, etc, to translate, maketext and return the result. By this way, it enables Maketext to be integrated into other programming
languages/systems, like bash/csh, python, PHP, C, etc. It works like the command-line program gettext.
For example:
% maketext -s "[*,_1,virus was,viruses were] found in [*,_2,file,files]." 0 1
0 viruses were found in 1 file.
% maketext -s "[*,_1,virus was,viruses were] found in [*,_2,file,files]." 1 3
1 virus was found in 3 files.
%
OPTIONS
-d,--domain=TEXTDOMAIN
Retrieve translated messages from TEXTDOMAIN.
-s Adds a new line to the end of the output so that it behaves like the `echo' or the `gettext' command.
-h,--help
Display the help messages.
-V,--version
Display version information and exit.
MSGKEY
The original text used to look up translated text.
PARAM...
Parameters to Maketext for the plural and other text functions.
ENVIRONMENT
TEXTDOMAIN
TEXTDOMAIN is used to determine the text domain when the -d parameter is not given.
TEXTDOMAINDIR
TEXTDOMAINDIR is used to search the message catelog/MO file if it does not reside in the system locale directories.
NOTES
Maketext language function override, like "quant" or "numerate", is not available here. Suggestions are welcome.
The current system locale directory search order is: /usr/share/locale, /usr/lib/locale, /usr/local/share/locale, /usr/local/lib/locale.
Suggestions are welcome.
BUGS
Report bugs to imacat <imacat@mail.imacat.idv.tw>
SEE ALSO
Locale::Maketext(3), Locale::Maketext::TPJ13(3), Locale::Maketext::Gettext(3), Locale::Maketext::Gettext::Functions(3), bindtextdomain(3),
textdomain(3). Also, please refer to the official GNU gettext manual at <http://www.gnu.org/software/gettext/manual/>.
AUTHOR
imacat <imacat@mail.imacat.idv.tw>
COPYRIGHT
Copyright (c) 2003-2007 imacat. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same
terms as Perl itself.
perl v5.10.0 2007-03-28 MAKETEXT(1p)