10-08-2006
this seems to be from a question/exercise in a book.
What have you got so far?
10 More Discussions You Might Find Interesting
1. Programming
Hi, there. Everyone had a great Thanksgiving?
I have a slice format problem when I am using vim to edit c++ source code. I don't know how to discribe the problem exactly. You see, usually when I use the command "vi hello.cpp" to write a code, it will have the format like this:
#include... (4 Replies)
Discussion started by: HOUSCOUS
4 Replies
2. UNIX for Dummies Questions & Answers
Hello guyz..
just want to know whether my doubt can be solve or not..maybe it
my company using yyyymmddxx for serial no format..and it cause problems..
first, my adjustments for moving n deleting domain name exceeded xxx per day, and it will cause and effect the yyyymmdd digits.
can... (6 Replies)
Discussion started by: unknown2205
6 Replies
3. Shell Programming and Scripting
studentNo=$1
tmp=/tmp/acc2courses$ID.$$
grep -w "$studentNo" CSE1001 >/dev/null 2>&1
&& echo CSE1001 >>$tmp
grep -w "$studentNo" CSE1002 >/dev/null 2>&1
&& echo CSE1002 >>$tmp
grep -w "$studentNo" CSE9001 >/dev/null 2>&1
&& echo CSE9001 >>$tmp
This is my code,
The output in tmp file... (10 Replies)
Discussion started by: ccwq
10 Replies
4. Shell Programming and Scripting
i need to send 2 diff mail in a single script:Below the script
#!/bin/ksh
echo "enter the number"
read num
if
then
mail -s "test" unix@yahoo.com
mail -s "test" 9886767000@nma.vodafone.in,9916138003@nma.vodafone.in
else
echo "test again"
fi... (5 Replies)
Discussion started by: ali560045
5 Replies
5. Shell Programming and Scripting
Someone can help for the following fromat change can done by script?
i.e. insert the perivous colurm's first variable if below line don't have the varaible start from AXXX....
From
A123,B123,C123
B123,C123
A234,B234,C234
A345,B345,C345
B345,C34
B345,C345
B345,C345
A456,B456,C456
... (2 Replies)
Discussion started by: bleach8578
2 Replies
6. Shell Programming and Scripting
if ( $opt{ww} ) {
my $week = $opt{ww} ? $opt{ww} : $lot_list->{cal}->getWW();
print "\nStarting at $week\n";
while ( $week > 200430 ) {
print localtime() . ": Working on $week\n";
my ($start,$end) = $lot_list->getWeekDates($week);
print localtime() . ":... (3 Replies)
Discussion started by: vahnski
3 Replies
7. Shell Programming and Scripting
can any one know that how can i get perfect format of phone number
my function is
phone_number=`echo $name_number | awk '{print $NF}'`
check=`echo $phone_number | egrep -c "--"`
i get the format but if i need perfect format like xxx-xxx-xxxx. if i enter not in this format it still... (1 Reply)
Discussion started by: tarunsavalia
1 Replies
8. Shell Programming and Scripting
Hello Everyone!
I hope you can help me!!
I have this little problem:
I executed oracle query and the output of the result are in a text file called "DATAFILE.txt", and the value of file is: 97.37
Well, the script compare the result in text file with a condition:
... (5 Replies)
Discussion started by: bobbasystem
5 Replies
9. Shell Programming and Scripting
Hi
I have a shell scribt with some numbers in exponential format, for example, "1.23456789E +01" Now I would like to bring these numbers into a format without the E. Can someone help me
Thanks
Flo
---------- Post updated at 10:07 AM ---------- Previous update was at 09:14 AM... (1 Reply)
Discussion started by: sbfly
1 Replies
10. Shell Programming and Scripting
I have written a code in Linux environment which compares two dates and print "correct" if 1st date is less than 2nd date. But when I'm running the same code in SunOS environment, "date -d is an illegal format" is the error it is throwing. How different should my code be so that it executes well in... (18 Replies)
Discussion started by: Chandan_Bose
18 Replies
LEARN ABOUT DEBIAN
bibledit-rdwrt
BIBLEDIT-RDWRT(1) General Commands Manual BIBLEDIT-RDWRT(1)
NAME
bibledit-rdwrt - Read or writes data to or from a Bibledit-Gtk Bible or project
DESCRIPTION
Bibledit-rdwrt can read from or write to Bible data.
Syntax: bibledit-rdwrt -r|-w project book chapter|0 fileName
Breaking the syntax down we have:
First parameter: -r|-w This can be either -r or -w which determines whether the remaining arguments are going to do a "read" operation from
the specified Bibledit-Gtk Bible / project, or do a "write" operation to that Bible / project.
Second parameter: project This gives the name of the Bibledit-Gtk Bible / project. All we have to do is ensure that the project name we
want to access is a valid/existing one.
Third parameter: book This is simply the 3-letter book code for the Bible book that is being read/written to. I.e., MAT for Matthew, GEN
for Genesis, etc.
Fourth parameter: chapter|0 This can be either a chapter number or 0 (zero) for reading/writing either an individual chapter or read-
ing/writing a whole book (when the parameter is 0).
Fifth parameter: fileName This is a temporary file name that we assign for our use with bibledit-rdwrt. For a read (-r) operation this
fileName argument is the name of the file that will be created by bibledit-rdwrt containing a copy of the whole book (corresponding to the
3-letter code), or that contains the individual chapter contents (of a designated chapter) of an existing Bibledit-Gtk book file in the
Bible / project. It should be prefixed with a path us. Since bibledit-rdwrt is a console operation, after AdaptIt calls it using ::wxExe-
cute, it would need to read the resulting temporary file to grab the contents for its use. For a write (-w) operation this fileName argu-
ment is the name of the temporary file that bibledit-rdwrt reads to get the text which it then writes to the appropriate Bible / project
file. The temporary file can contain the text of a whole book, or just the text of a single chapter for the book specified by the book
3-letter code and the chapter (number) argument.
bibledit-rdwrt may exit with 0 on success, or -1 on failure, as it sees fit. It may write to stdout or stderr, as it sees fit.
LICENSE
This program is distributed under the GNU General Public License, as noted in each source file.
Version 4.2 August 18 2011 BIBLEDIT-RDWRT(1)