03-05-2010
8 More Discussions You Might Find Interesting
1. HP-UX
I Need help !
We changed a WS HP 715/33 the new is a HP 715/100 ! The old one supports a HIL keyboard and mouse. The "new" one PS2 keyboard.
We changed only the hardware not the harddisk - now the Xserver didnīt start !
What have we to configure thatt the WS supports the PS2 keyboard under... (0 Replies)
Discussion started by: rbrandt1
0 Replies
2. UNIX for Dummies Questions & Answers
Hi,
how can unset PS="+".
i tryed like this:
$ unset PS4;
but it's not unseting permanently.
it's showing oagain when i was login.
pls help me on this. (1 Reply)
Discussion started by: koti_rama
1 Replies
3. Shell Programming and Scripting
Hello frnds...
I m asking a general question... thought I never faced and used this (PS3) variable... or may be i m not aware of this...
I know very well about the unix prompt string variables PS1,PS2,PS4.
but please tell me what is the use of PS3 and where it's used.
I didnt find... (5 Replies)
Discussion started by: clx
5 Replies
4. Debian
About a year and half or so ago me and a friend set up Debian on a PS3. For a while I could not boot into the ps3 but managed to get it running again. I was very excited to get back in a play on the Debian distro we installed until I found neither of us could remember the password he put on it.
... (3 Replies)
Discussion started by: Azrael
3 Replies
5. Shell Programming and Scripting
Hi all,
Before I give up on using SELECT for my first attempt at creating a menu driven script, can anyone please advise if it is possible to include a line break for PS3, I've tried putting in a \n and it does not work.
Tried for both bash and ksh and both gives the same result. Preference... (3 Replies)
Discussion started by: newbie_01
3 Replies
6. Shell Programming and Scripting
Hi All
I am using the below code to chose a file to view :
PS3="Select file to view : "
select FILE in `ls` QUIT
do
if ; then
clear
cat $FILE
else
break
fi
REPLY=''
done
Everything works fine as long as I am giving the correct choice .
But when i give a... (4 Replies)
Discussion started by: ningy
4 Replies
7. Shell Programming and Scripting
PS3="Enter corresponding number and hit enter:"
select DIR in `cat mylist` QUIT
do
if
then
echo "INVALID INPUT"
else
if ; then
my commands .....
else
break
fi
fi
REPLY=''
done
The above will return something like below :
Select from the list of... (4 Replies)
Discussion started by: ningy
4 Replies
8. Shell Programming and Scripting
Hi guys,
Is there a way to assign curent time to PS4 variable in ksh. My goal is to have each line produced by 'set -x' command to have a time stamp.
Here is my code:
$cat test
#!/usr/bin/ksh
export PS4="`date` "
set -x
echo "TRACE LINE ONE"
echo "I WILL SLEEP FOR 10 SEC"
sleep 10... (2 Replies)
Discussion started by: aoussenko
2 Replies
LEARN ABOUT DEBIAN
dchist
DCHIST(1) DICOM PS3 - DICOM image statistics DCHIST(1)
NAME
dchist - ACR/NEMA DICOM PS3 ... DICOM PS3 - DICOM image statistics
SYNOPSIS
dchist [ -h|histogram ] [ -csv ] [ -withhighbits|highbitsonly ] [ -v|verbose ] [ -filename ]
DESCRIPTION
dchist reads the named dicom or acr-nema input file and describes the statistics of the image pixel data. The primary intent is to deter-
mine the zero order entropy of the image.
The description and verbose output go to standard error.
The basic input switches are described in dcintro(1). Options specific to this program are:
-h|histogram
Display table of pixel value, frequency, probability, contribution to zero order entropy, and cumulative zero order entropy. May
generate a LOT of output !
-csv
Display only a comma separated value pair of pixel value and frequency, one line per value, e.g., for import into a statistical pro-
gram or spreadsheet
-withhighbits
Include as well the values that are above Bits Stored and within Bits Allocated, such as might be overlay bits (regardless of
whether or not there are any 60xx group elements).
-highbitsonly
Use instead the values that are above Bits Stored and within Bits Allocated, such as might be overlay bits, and treat all valid
pixel values below Bits Stored inclusive as zero (regardless of whether or not there are any 60xx group elements).
-v|verbose
Display byte offset from file start and message start, in hexadecimal, and dump contents while reading and once read.
-filename
Show the name of the file supplied in the arguments; a hyphen will be reported if no filename was supplied.
ENVIRONMENT
EXAMPLES
% dchist expmeta.dc3
9.02366 Zero order entropy (bits per pixel)
0x0 Smallest symbol value
0 Smallest symbol length (bits)
0x6e9 Largest symbol value
11 Largest symbol length (bits)
% dchist -h expmeta.dc3
[0x0] 392 p=0.00598145 e=0.0441747 cum=0.0441747
...
[0x6e9] 1 p=1.52588e-05 e=0.000244141 cum=9.02366
9.02366 Zero order entropy (bits per pixel)
0x0 Smallest symbol value
0 Smallest symbol length (bits)
0x6e9 Largest symbol value
11 Largest symbol length (bits)
FILES
SEE ALSO
dcstats(1), dcintro(1)
AUTHOR
Copyright (C) 1993-2010. David A. Clunie DBA PixelMed Publishing. All rights reserved.
BUGS
DICOM PS3 20 August 2007 DCHIST(1)