07-04-2012
You are correct. There is a missing line break between "$foo" and "eval". However, that is not unix.com's responsibility. The forum is not the original author of the manual and the error is there in the original source; the content is being reproduced faithfully. Still, thank you for caring enough to report it.
The error has been fixed in subsequent versions (the eval man page no longer even exists as a standalone document).
Issue 6 (2004), with typo:
eval
Issue 7 (2008): no typo:
Shell Command Language
Regards,
Alister
This User Gave Thanks to alister For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i've never done this before. i created a script that I placed in /usr/bin, but want to create a man page for it. i'm clueless
thanks (3 Replies)
Discussion started by: theDirtiest
3 Replies
2. UNIX for Dummies Questions & Answers
I was wonderiong if ther is a way for a user to add a man page specific to thier account. similar to copying the .1 or .1.gz to /usr/share/man/man1 "cp *.1.gz /usr/share/man/man1". Except for using another folder as I don't have access to /usr/share/man/man1. I would think that this might involve... (1 Reply)
Discussion started by: jacob358
1 Replies
3. Red Hat
Hi Guys,
I'm looking for the man page for scp version 1.2.27
I have an old redhat server that has a few large scripts that use this version and I want to know what the -A flag does and the man page is not on there. (4 Replies)
Discussion started by: Tornado
4 Replies
4. UNIX for Advanced & Expert Users
Man page is not working my system. It is giving the following the following error
> man ls
gdbm fatal: read error
with debug option
> man -d ls
...
....
...
...
using less as pager
checking for locale en_US
add_nls_manpath(): processing /usr/local/man:/usr/share/man:/usr/X11R6/man... (4 Replies)
Discussion started by: praveenkumar_l
4 Replies
5. Solaris
Help,
it seem that i am unable to get man help form solaris 10.
I am running SunOS unknown 5.10 Generic_120012-14 i86pc i386 i86pc
when ever i try to man a command what i get is "No manual entry" like the one below.
# man grep
No manual entry for grep.
# man ls
No manual entry for ls.... (8 Replies)
Discussion started by: ezsurf
8 Replies
6. Solaris
What does the last change means in man page .. does that this man page has not been updated since 2003 or something else ?
newfs-options
The options are documented in the newfs man page.
SunOS 5.10 Last change: 9 Dec 2003 1
System... (2 Replies)
Discussion started by: fugitive
2 Replies
7. Shell Programming and Scripting
Hello,
hope this is the correct forum for this question.
I have created a man page, named nfwatchdog.1.gz. This man page was installed under /usr/share/man/man1. When I execute: man nfwatchdog from any location, the man page is incorrectly opened (I see ASCII garbage). But when I directly... (4 Replies)
Discussion started by: nardix
4 Replies
8. Shell Programming and Scripting
anyone has any info on why this is complaining???
vivek@vivek-c5e55ef2e ~/TAC
$ zoneCounter=1
vivek@vivek-c5e55ef2e ~/TAC
$ optUsage1=23%
vivek@vivek-c5e55ef2e ~/TAC
$ eval eval echo "<th>Zone $zoneCounter </th><th align=\"left\"> \$optUsage$zoneCounter </th>"
-bash: syntax error... (1 Reply)
Discussion started by: vivek d r
1 Replies
9. Shell Programming and Scripting
anyone has any info on why this is complaining???
vivek@vivek-c5e55ef2e ~/TAC
$ zoneCounter=1
vivek@vivek-c5e55ef2e ~/TAC
$ optUsage1=23%
vivek@vivek-c5e55ef2e ~/TAC
$ eval eval echo "<th>Zone $zoneCounter </th><th align=\"left\"> \$optUsage$zoneCounter </th>"
-bash: syntax error... (13 Replies)
Discussion started by: vivek d r
13 Replies
EVAL(P) POSIX Programmer's Manual EVAL(P)
NAME
eval - construct command by concatenating arguments
SYNOPSIS
eval [argument ...]
DESCRIPTION
The eval utility shall construct a command by concatenating arguments together, separating each with a <space>. The constructed command
shall be read and executed by the shell.
OPTIONS
None.
OPERANDS
See the DESCRIPTION.
STDIN
Not used.
INPUT FILES
None.
ENVIRONMENT VARIABLES
None.
ASYNCHRONOUS EVENTS
Default.
STDOUT
Not used.
STDERR
The standard error shall be used only for diagnostic messages.
OUTPUT FILES
None.
EXTENDED DESCRIPTION
None.
EXIT STATUS
If there are no arguments, or only null arguments, eval shall return a zero exit status; otherwise, it shall return the exit status of the
command defined by the string of concatenated arguments separated by <space>s.
CONSEQUENCES OF ERRORS
Default.
The following sections are informative.
APPLICATION USAGE
None.
EXAMPLES
foo=10 x=foo
y='$'$x
echo $y
$fooeval y='$'$x
echo $y
10
RATIONALE
None.
FUTURE DIRECTIONS
None.
SEE ALSO
Special Built-In Utilities
COPYRIGHT
Portions of this text are reprinted and reproduced in electronic form from IEEE Std 1003.1, 2003 Edition, Standard for Information Technol-
ogy -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the Institute of
Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between this version and the original IEEE
and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained
online at http://www.opengroup.org/unix/online.html .
IEEE
/The Open Group 2003 EVAL(P)