12-08-2001
thank you rwb1959
Your informations are useful.
You gave me a confident.
-sham-
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I would like to write files to a directory (not under the user's home) which includes the userid.
Example:
userid = john
John's home dir is /home/john
I want to create a directory /var/prog/john
MSG_HOME=/var/prog; export MSG_HOME;
USR_NAME=@@@@; export USER_NAME;
if ;
... (3 Replies)
Discussion started by: dinplant
3 Replies
2. Shell Programming and Scripting
When i grep a file and store it in a file it is storing as a zero byte file any way to avoid that..... (6 Replies)
Discussion started by: arunkumar_mca
6 Replies
3. Shell Programming and Scripting
Hi ,
I have code like below in my ksh script, but getting an error as SP2-0253: data item 1 ("SAMPLE_ID") will not fit on line , pls help me. thanks.
if (( CHECKS == 0 )) || (( CHECKS == 1 ))
then
V_SAMPLE_ID=$( $ORACLE_HOME/bin/sqlplus -S / <<EOF
whenever sqlerror exit 1... (5 Replies)
Discussion started by: bennichan
5 Replies
4. Shell Programming and Scripting
Hi All,
I have a string like
echo $var
D_PROC=20080723 I_REPROC=N C_TYPE_FILE=INBOUND
Now I want it be stored in an associative array so that when we
echo $arr it should be 20080723 (5 Replies)
Discussion started by: thana
5 Replies
5. Programming
How can I read from the user input and store each word individually
for example
word1 word2 number1 number2 word 3 number3
server 192.25.1.1 55555 22 logged 15
I need to store and manipulate each word/number individually and these inputs are entered by the user. (7 Replies)
Discussion started by: Peevish
7 Replies
6. UNIX for Dummies Questions & Answers
Guys, I was wondering what command can be used to parse the "LaxOrdID" field into a separate file? These messages are in thousands and I need to perform a comparision. (6 Replies)
Discussion started by: DallasT
6 Replies
7. Shell Programming and Scripting
There is one function to calculate previous day value and then touch one file with that date.The problem is i am getting the previous day value but not able to store it in other variable and use it.
PREVIOUS_DATE_FUNCTION()
{
date '+%m %d %Y' |
{
read MONTH DAY YEAR
DAY=`expr "$DAY" -... (7 Replies)
Discussion started by: aroragaurav.84
7 Replies
8. Shell Programming and Scripting
!#bin/bash
clear
var= grep @gmail.com email.txt | wc -l
echo $var
echo $var
exit 0
OUTPUT:
1000
_
_
Where _ represent space (no value or nothing) (4 Replies)
Discussion started by: Muhammad Rehan
4 Replies
9. UNIX for Beginners Questions & Answers
I am on Ubuntu 18.04 and I have never created a backup. Recently my computer started acting sluggish until I restarted it but it got me concerned. So I figured I better make a backup (work pc) just in case. However, I have honestly never made one before. It's asking me where I want to save the... (6 Replies)
Discussion started by: Circuits
6 Replies
LEARN ABOUT CENTOS
paperconf
PAPERCONF(1) General Commands Manual PAPERCONF(1)
NAME
paperconf - print paper configuration informations
SYNOPSYS
paperconf [ [ -p ] paper | -d | -a ] [ -z ] [ -n | -N ] [ -s | -w | -h ] [ -c | -m | -i ]
DESCRIPTION
paperconf prints informations about a given paper. The informations that can be obtaineed are the name of the paper, its size and its
width or height. When called without arguments, paperconf prints the name of the system- or user-specified paper, obtained by looking in
order at the PAPERSIZE environment variable, at the contents of the file specified by the PAPERCONF environment variable, at the contents
of the file /etc/papersize , consulting the values controlled by the LC_PAPER locale setting, or by using letter as a fall-back value if
none of the other alternatives are successful. By default, width and height of the paper are printed in PostScript points.
OPTIONS
-p paper
Specify the name of the paper about which informations are asked.
-d Use the default builtin paper name.
-a Consider all known papers names.
-z If the paper name is unknown, print it but issue a message on the standard error and exit with a non-zero code.
-n Print the name of the paper.
-N Print the name of the paper with the first letter capitalized.
-s Print the size (width followed by height) of the paper.
-w Print the width of the paper.
-h Print the height of the paper.
-c Use centimetres as unit for paper size.
-m Use millimetres as unit for paper size.
-i Use inches as unit for paper size.
ENVIRONMENT
PAPERSIZE Paper size to use regardless of what the papersize file contains.
PAPERCONF Full path to a file containing the paper size to use.
FILES
/etc/papersize Contains the name of the system-wide default paper size to be used if the PAPERSIZE and PAPERCONF variables are not
set.
AUTHOR
Yves Arrouye <arrouye@debian.org>
SEE ALSO
papersize(5)
24 April 2001 PAPERCONF(1)