06-09-2011
"However, n is dependent on wherever the written text ends"
Please post an example of input and expected output so we may be able to help you to generate the output as you need
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
what r the ways in which a linux application communicate with an external system like linux or windows? (1 Reply)
Discussion started by: shil
1 Replies
2. Post Here to Contact Site Administrators and Moderators
What are the Guided and Enhanced Modes? This is something new right? Or have I been the most unobservant guy on the face of this planet? At first I thought it was something for Gollum the forumbot, but its there everytime you start a new thread.
What is the difference between the two? And how do... (1 Reply)
Discussion started by: blowtorch
1 Replies
3. Shell Programming and Scripting
Hi,
I have a shell script in which I need to switch to another user and execute some commands and then come back to the original user.
To make it more clear -
I have to log in as user root then 'su' to jag - execute a script called backup.sh and then logout and come back to root again..
... (1 Reply)
Discussion started by: bjagadeesh
1 Replies
4. UNIX for Dummies Questions & Answers
Dear All,
I want to switch a user inside a shell script.My current user say x and user y to whom i want to switch both have login on the same server,the one on which i want to execute my script on.
"I want to do something like this
su - y
Password should be provided in the script itself.And... (6 Replies)
Discussion started by: navjotmannan
6 Replies
5. Solaris
I downloaded vim.7.2 and compiled the vim source .
Added the vim binary path to PATH (Because iam not the root of the box)
when i load the file using vim it throws me an error
Error detected while processing /home2/e3003091/.vimrc:
line 2:
E185: Cannot find color scheme darkblue
line... (0 Replies)
Discussion started by: girija
0 Replies
6. Shell Programming and Scripting
Hi,
I have an issue with switching to other directory through shell script. I have used
cd /Music"
but that doesn't help me. Then I have also tried using
alias proj 'Music'
alias
then I get the error permission denied but i set the chmod 777 Music. I am using cShell for my... (3 Replies)
Discussion started by: baluk
3 Replies
7. UNIX for Dummies Questions & Answers
What access modes (permissions) are given to new files you create? (2 Replies)
Discussion started by: naasei
2 Replies
8. Shell Programming and Scripting
Linux version : Oracle Linux 6.4
Shell : Bash
The following script will be run as root. During the execution, it should switch to oracle user and execute few commands.
After googling and searching within unix.com , I came up with the following syntax
## Enclosing all commands in double... (7 Replies)
Discussion started by: John K
7 Replies
9. Shell Programming and Scripting
Requirement: I am writing a shell script which take some file from say Server1 and I have to execute some command on Server2 then I have to manipulate the data and based on that I have to produce report.
Problem:I can schedule the shell script on only one server (Server1 or Server2) So, In the... (3 Replies)
Discussion started by: raks2301
3 Replies
LEARN ABOUT DEBIAN
makeweights
MAKEWEIGHTS(6) Games Manual MAKEWEIGHTS(6)
NAME
makeweights - generate a GNU Backgammon binary weights file
SYNOPSIS
makeweights [[-f] output [input]]
DESCRIPTION
makeweights generates GNU Backgammon binary weights file from a text input file. By default, it reads input from standard input and writes
output to standard output, but input and output files may be specified on the command line. It is only of interest if you want to regener-
ate the gnubg.wd database from a modified gnubg.weights file.
OPTIONS
-f This option may be given for compatibility with the options of other GNU Backgammon programs but is ignored.
EXAMPLES
To generate gnubg.wd from gnubg.weights:
makeweights gnubg.wd gnubg.weights
SEE ALSO
gnubg(6)
AUTHORS
Joseph Heled, Oystein Johansen, Jorn Thyssen, and Gary Wong, with the assistance of many others <bug-gnubg@gnu.org>.
This manual page was written by Russ Allbery <rra@debian.org>, for the Debian GNU/Linux system (but may be used by others). It may be
redistributed and/or modified under the terms of version 3 or later of the GNU General Public License as published by the Free Software
Foundation (the same license as GNU Backgammon).
2008-02-16 MAKEWEIGHTS(6)