10-21-2009
Quote:
Originally Posted by
scottn
Sorry, I use AIX, so I generally believe what's relevant for me, not what may or may not be "standard of the week".
The standard is (as I have pointed out before) defined by the Open Group. It is not a "standard of the week". It was updated last year; the previous update was a decade or so earlier.
When talking about a standard, it helps to refer to the document that defines that standard, not to something that may or may not be correct.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I might be making a silly mistake but I need ur help.
I have initialized various variables:
cur_month=`date +%m`
cur_year=`date +%y`
last_year=`expr $cur_year \- 1`
It works fine for cur_month & cur_year....but has problems with last_year.
FOR LAST YEAR IT GIVES A FOLLOWING... (2 Replies)
Discussion started by: rooh
2 Replies
2. UNIX for Dummies Questions & Answers
I'm writing a unix script that simply does some basic command line stuff for a whole lot of similar directories (ls *.dat > foo.bar). Its my first script ever, and its going ok, except I can't, for the life of me, figure out how to get arithmetic to work in the script.
FIVE=5
MY_NUMBER='expr... (4 Replies)
Discussion started by: benu302000
4 Replies
3. Shell Programming and Scripting
Hi,
in my ksh script
expr 22 / 10 results as 2
but the actual result expected in 2.2.
how do i get that result. Please help
Thanks, (2 Replies)
Discussion started by: kotasateesh
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
in my ksh script
expr 22 / 10 results as 2
but the actual result expected in 2.2.
how do i get that result. Please help
Thanks, (4 Replies)
Discussion started by: kotasateesh
4 Replies
5. UNIX for Dummies Questions & Answers
:)
hi Unix gurus,
Pls consider the following piece of code
str='hello'
length=echo $str|wc -c
echo $length
y= ` expr \( 80 - $length \) `
echo $y
:confused:
The last echo stmt is displaying 0 as the result.
If i put direct value like 6 instead of $length in i 3rd stmt it is giving... (8 Replies)
Discussion started by: ravi raj kumar
8 Replies
6. Shell Programming and Scripting
Hello Friends,
I am learning Perl now. I have a small query.
I have a directory Z with file name Z.txt.
I would like to copy this file Z.txt to 3 new dir with new filenames as follows
dir 1 1.txt
dir 2 2.txt
dir 3 3.txt
I would like to then open 1.txt from dir 1 and edit the first... (0 Replies)
Discussion started by: ramesh54
0 Replies
7. Shell Programming and Scripting
Hi all,
Please help me solve below issue.
expr 04170000000 + 1 gives me -124967295 and offcourse I want this to be 04170000001
and it happens for some sort of number like some other
02300000000
02600000000
03800000000
I guess after exceeding certain range it is converting it somewhere... (2 Replies)
Discussion started by: Revansing
2 Replies
8. Programming
Hello. I am taking a Perl class in college and we've briefly covered SQL and moved on. We have a term project and we can do whatever we want. My project will rely strongly on an SQL Database so I am trying to learn as much about Perl DBI as I can to get things up and going.
I am basically... (1 Reply)
Discussion started by: Dave247
1 Replies
9. UNIX for Dummies Questions & Answers
I am using the following code:
if ; then
I am getting an error saying line 12:
The code is supposed to examine whether the filename read into $FILE includes the string IMG*. I do have a fi later in the script, but I must be missing something obvious. Can anyone help? (3 Replies)
Discussion started by: Bengel
3 Replies
10. Shell Programming and Scripting
Hi,
I have used expr command to increment the date.
for e.g.,
case 1 :
echo $(date -d $(echo `expr 20010101 + 1`))
it returns
Tue Jan 2 00:00:00 IST 2001
case 2:
echo $(date -d $(echo `expr 20010101 - 1`))
it returns
date: invalid date `20010100'
please suggest me, how to... (3 Replies)
Discussion started by: nanthagopal
3 Replies
LEARN ABOUT SUSE
manipulators
FBB::Manipulators(3bobcat) Manipulators FBB::Manipulators(3bobcat)
NAME
FBB::Manipulators - Manipulators defined in the FBB namespace
DESCRIPTION
Various manipulators are defined within the FBB namespace. This manual page provides an overview of the manipulators that are currently
defined in the FBB namespace.
MANIPULATORS
o FBB::center:
defined in bobcat/align This manipulator can be specified when constructing an FBB::Align object to indicate that a table column
should center its contents.
o FBB::decindent:
defined in bobcat/indent This manipulator reduces the indentation level.
o FBB::def:
defined in bobcat/table This manipulator `completes' a Table object to a full rectangular object. It can be inserted into a Table
object.
o FBB::err:
defined in bobcat/msg Generates an error message.
o FBB::fatal:
defined in bobcat/msg Generates a fatal message, followed by an Errno(1) exception.
o FBB::fs:
defined in bobcat/tablebuf Starts the definition of the next element in a table.
o FBB::info:
defined in bobcat/msg Generates an informational message.
o FBB::incindent:
defined in bobcat/indent This manipulator will increment the indentation level.
o FBB::indent:
defined in bobcat/indent This manipulator inserts the currently defined number of indentation blanks into an ostream.
o FBB::indentdec:
defined in bobcat/indent This manipulator will insert, then reduce the indentation level.
o FBB::indentinc:
defined in bobcat/indent This manipulator will insert, then increment the indentation level.
o FBB::lm:
defined in bobcat/ofoldstreambuf This manipulator sets the left margin of FBB::OFoldStream objects.
o FBB::mlm:
defined in bobcat/ofoldstreambuf This manipulator modifies (alters) the left margin of FBB::OFoldStream objects.
o FBB::nlindent:
defined in bobcat/indent This manipulator will insert a newline, then indent.
o FBB::rs:
defined in bobcat/tablebuf Starts the definition of the next row in a table.
o FBB::spool:
defined in bobcat/msg Generates a (partial) informational message.
o FBB::warning:
defined in bobcat/msg Generates a warning message.
SEE ALSO
bobcat(7), columnwidth(3bobcat), equalwidth(3bobcat), errno(3bobcat), indent(3bobcat), lm(3bobcat), mlm(3bobcat), msg(3bobcat), table(3bob-
cat)
BUGS
None Reported.
DISTRIBUTION FILES
o bobcat_3.01.00-x.dsc: detached signature;
o bobcat_3.01.00-x.tar.gz: source archive;
o bobcat_3.01.00-x_i386.changes: change log;
o libbobcat1_3.01.00-x_*.deb: debian package holding the libraries;
o libbobcat1-dev_3.01.00-x_*.deb: debian package holding the libraries, headers and manual pages;
o http://sourceforge.net/projects/bobcat: public archive location;
BOBCAT
Bobcat is an acronym of `Brokken's Own Base Classes And Templates'.
COPYRIGHT
This is free software, distributed under the terms of the GNU General Public License (GPL).
AUTHOR
Frank B. Brokken (f.b.brokken@rug.nl).
libbobcat1-dev_3.01.00-x.tar.gz 2005-2012 FBB::Manipulators(3bobcat)