I have a program that i need to get done that gets the person's name and his grade then prints it in this order "name-grade-gradeletter" so i wrote this code:
So when you input the name and the grade, it just skips to the asterisk and outputs "Wrong input". Shouldn't it go through the values since the case is $grade and is using grade that is given by the person ?
Can someone tell me my mistake ?
P.S i tried changing the case to if command to see if it works but it shows me that no such file exists ?:
Moderator's Comments:
Please use CODE tags as required by forum rules!
Last edited by RudiC; 04-14-2018 at 06:26 PM..
Reason: Added CODE tags.
hello! when issuing the mail command to see my received mail, i get this error:
(server)starla:/home/starla>mail
Warning: Too many letters, overflowing letters concatenated
msgcnt 27378 vxfs: mesg 001: vx_nospace - /dev/vg00/lvol4 file system full (1 block extent)
mail: no space for temp file... (0 Replies)
Hi,
I've got this message in /var/adm/messages...
"genunix: Warning: 4a56a80 Received duplicate M_IOCACK"
I get the messages maybe 6 times a day, or some days not at all.
The number after "Warning:" is different each time.
The system is Sun Blade 2500 running Solaris 9.
I can't find... (0 Replies)
Discussion started by: omegad22
0 Replies
3. Forum Support Area for Unregistered Users & Account Problems
On a Solaris 8 print server we're continuously (every 2 minutes or so) getting these messages in the logs:
printd: Warning: Received SIGPIPE; continuing
I've applied this patch and restarted the printd daemon, but it doesn't help: #109320-22: SunOS 5.8: lp patch
Does anyone have any idea what... (4 Replies)
Hi to all,
i am trying to make mksysb backup of a NIM client machine from NIM master and while i am reading that the backup is done successfully i get an error message below and it doesnt exit the smit screen. also the status of the command appears to be running.
is there anybody who knows why... (3 Replies)
Hi all,
I want to write a awk script that counts unique IPs that have received one special error.
For example
25-04-2012;192.168.70.31;1254545454545417;500.0;SUCCESS
25-04-2012;192.168.70.32;355666650914;315126423993;;General_ERROR_23
30-04-2012;192.168.70.33;e;null;null;Failure... (2 Replies)
Hi all,
I want to write a awk script that counts unique IPs that have received one special error.
For example
25-04-2012;192.168.70.31;1254545454545417;500.0;SUCCESS
25-04-2012;192.168.70.32;355666650914;315126423993;;General_ERROR_23
30-04-2012;192.168.70.33;e;null;null;Failure... (4 Replies)
Hi Forum,
We have observed one problem in one of our HP-UX machines which runs a software which connects the radio frequency scan devices and the scanned information is stored in the database through the same software.
This software has thrown an error like "Not enough space left on the... (4 Replies)
Hello,
This is a test/lab LPAR. Recently installed and updated the SP/TL. everything seems to be working fine. (ran all post install checks)
I checked the state of boot record, received the following error/failed message. Can you please explain what does this mean ?
/>ipl_varyon -i
... (1 Reply)
Multiple questions coming your way.
A little back ground info as to why I am back to basics.
A dear friend of mine passed away recently and as a request by him I have promised to keep his project alive. The problem I have it was being handed over when he was in the last weeks of his life and... (1 Reply)
Discussion started by: nobbyall
1 Replies
LEARN ABOUT OPENDARWIN
uucp
uucp(1) General Commands Manual uucp(1)NAME
uucp - Unix to Unix copy
SYNOPSIS
uucp [ options ] source-file destination-file
uucp [ options ] source-file... destination-directory
DESCRIPTION
The uucp command copies files between systems. Each file argument is either a pathname on the local machine or is of the form
system!path
which is interpreted as being on a remote system. In the first form, the contents of the first file are copied to the second. In the sec-
ond form, each source file is copied into the destination directory.
A file be transferred to or from system2 via system1 by using
system1!system2!path.
Any pathname that does not begin with / or ~ will be appended to the current directory (unless the -W or --noexpand option is used); this
resulting path will not necessarily exist on a remote system. A pathname beginning with a simple ~ starts at the UUCP public directory; a
pathname beginning with ~name starts at the home directory of the named user. The ~ is interpreted on the appropriate system. Note that
some shells will interpret a simple ~ to the local home directory before uucp sees it; to avoid this the ~ must be quoted.
Shell metacharacters ? * [ ] are interpreted on the appropriate system, assuming they are quoted to prevent the shell from interpreting
them first.
The copy does not take place immediately, but is queued up for the uucico (8) daemon; the daemon is started immediately unless the -r or
--nouucico switch is given. In any case, the next time the remote system is called the file(s) will be copied.
OPTIONS
The following options may be given to uucp.
-c, --nocopy
Do not copy local source files to the spool directory. If they are removed before being processed by the uucico (8) daemon, the copy
will fail. The files must be readable by the uucico (8) daemon, and by the invoking user.
-C, --copy
Copy local source files to the spool directory. This is the default.
-d, --directories
Create all necessary directories when doing the copy. This is the default.
-f, --nodirectories
If any necessary directories do not exist for the destination path, abort the copy.
-R, --recursive
If any of the source file names are directories, copy their contents recursively to the destination (which must itself be a direc-
tory).
-g grade, --grade grade
Set the grade of the file transfer command. Jobs of a higher grade are executed first. Grades run 0 ... 9 A ... Z a ... z from high
to low.
-m, --mail
Report completion or failure of the file transfer by mail (1).
-n user, --notify user
Report completion or failure of the file transfer by mail (1) to the named user on the remote system.
-r, --nouucico
Do not start uucico (8) daemon immediately; merely queue up the file transfer for later execution.
-j, --jobid
Print jobid on standard output. The job may be later cancelled by passing the jobid to the -k switch of uustat (1). It is possible
for some complex operations to produce more than one jobid, in which case each will be printed on a separate line. For example
uucp sys1!~user1/file1 sys2!~user2/file2 ~user3
will generate two separate jobs, one for the system sys1 and one for the system sys2.
-W, --noexpand
Do not prepend remote relative path names with the current directory.
-t, --uuto
This option is used by the uuto shell script. It causes uucp to interpret the final argument as system!user. The file(s) are sent to
~/receive/USER/LOCAL on the remote system, where USER is from the final argument and LOCAL is the local UUCP system name. Also, uucp
will act as though --notify user were specified.
-x type, --debug type
Turn on particular debugging types. The following types are recognized: abnormal, chat, handshake, uucp-proto, proto, port, config,
spooldir, execute, incoming, outgoing. Only abnormal, config, spooldir and execute are meaningful for uucp.
Multiple types may be given, separated by commas, and the --debug option may appear multiple times. A number may also be given, which
will turn on that many types from the foregoing list; for example, --debug 2 is equivalent to --debug abnormal,chat.
-I file, --config file
Set configuration file to use. This option may not be available, depending upon how uucp was compiled.
-v, --version
Report version information and exit.
--help
Print a help message and exit.
SEE ALSO mail(1), uux(1), uustat(1), uucico(8)BUGS
Some of the options are dependent on the capabilities of the uucico (8) daemon on the remote system.
The -n and -m switches do not work when transferring a file from one remote system to another.
File modes are not preserved, except for the execute bit. The resulting file is owned by the uucp user.
AUTHOR
Ian Lance Taylor <ian@airs.com>
Taylor UUCP 1.07 uucp(1)