Sponsored Content
Top Forums Shell Programming and Scripting Listen sharp time to run a command inside a script Post 303001558 by baris35 on Monday 7th of August 2017 10:00:56 AM
Old 08-07-2017
Hello Andrew,
My fault, I meant just "sharp". The word "sharp" itself is already indicating the time.
I am gonna check it and leave my comment here after then.


Many thanks
Boris

Last edited by baris35; 08-07-2017 at 11:16 AM..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to run an SQL script inside a shell

How do I create a K Shell which would silently (without user input) logon to Oracle and run an SQL script? Any help will be greatly appreciated. Steve (1 Reply)
Discussion started by: stevefox
1 Replies

2. Shell Programming and Scripting

Run the command inside perl script

I have a command which will run fine in a unix command prompt. Can you tell how to interprete this command inside perl script...... The command is : perl -pe 's/(\|333\}.*)\}$/$1|1.6}/' FIA.txt This will search for the number 333 and appends 1.6 at the end of that line....... (1 Reply)
Discussion started by: vinay123
1 Replies

3. Shell Programming and Scripting

how to run shell script inside expect script?

I have the code like this : shell script continues ... .... expect -c" spawn telnet $ip expect "login:" send \"$usrname\r\" expect "Password:" send \"$passwd\r\" expect "*\>" send \"$cmdstr\r\" ... (1 Reply)
Discussion started by: robbiezr
1 Replies

4. Shell Programming and Scripting

Need help! command working ok when executed in command line, but fails when run inside a script!

Hi everyone, when executing this command in unix: echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error. here is content of my script: tdbsrvr$ vi hc.sh "hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies

5. Shell Programming and Scripting

Bash- Command run from script does not pass full parameters with spaces inside

There's a JavaScript file that I call from command line (there's a framework) like so: ./RunDiag.js param1:'string one here' param2:'string two here' I have a shell script where I invoke the above command. I can run it in a script as simple as this #!/bin/bash stuff="./RunDiag.js... (4 Replies)
Discussion started by: AcerAspirant
4 Replies

6. Shell Programming and Scripting

Script for telnet and run one command kill it and run another command using while loop

( sleep 3 echo ${LOGIN} sleep 2 echo ${PSWD} sleep 2 while read line do echo "$line" PID=$? sleep 2 kill -9 $PID done < temp sleep 5 echo "exit" ) | telnet ${HOST} while is executing only command and exits. (5 Replies)
Discussion started by: sooda
5 Replies

7. Shell Programming and Scripting

Run .exe inside shell script

I have to run some shell scripts in Windows using Cygwin. I am able to achieve that using %BASH% --login -i "/cygdrive/d/script.sh" , where %BASH% is an environment variable in Windows set to C:\cygwin\bin\bash.exe. I have a created a Cygwin environment variable $EXE_PATH =... (3 Replies)
Discussion started by: HemanthJayasimh
3 Replies

8. Shell Programming and Scripting

Run bash command inside zsh script

Hi, I would like to run following code in bash inside a zsh script. (In this case is output unfortunately very different if you run it in zsh). I tried to put "bash" in front of the code but I obtained following error message "bash: do: No such file or directory " eve though I merged the whole... (7 Replies)
Discussion started by: kamcamonty
7 Replies

9. Shell Programming and Scripting

Capture run time of python script executed inside shell script

I have bash shell script which is internally calling python script.I would like to know how long python is taking to execute.I am not allowed to do changes in python script.Please note i need to know execution time of python script which is getting executed inside shell .I need to store execution... (2 Replies)
Discussion started by: Adfire
2 Replies

10. UNIX for Advanced & Expert Users

Run awk command inside ssh

I am trying to run an awk command inside of ssh and it is not working. These are AIX servers. for i in `cat servers`; do ssh $i "/bin/hostname; df -g | awk '/dev/ && $4+0 > 70'"; done server1 server2 server3 server4 I also tried these two methods and they did not work. It just seemed... (5 Replies)
Discussion started by: cokedude
5 Replies
pfstmo_mantiuk06(1)					      General Commands Manual					       pfstmo_mantiuk06(1)

NAME
pfstmo_mantiuk06 - Tone mapping in the contrast domain SYNOPSIS
pfstmo_mantiuk06 [--factor <val>] [--equalize-contrast <val>] [--saturation <val>] [--verbose] [--quiet] [--help] DESCRIPTION
This command implements two tone mapping operators: contrast mapping and contrast equalization. Both operators can produce very sharp images (sometimes non-photorealistic) while minimizing contrast reversal (halo artifacts). More information on these operators can be found in: Rafal Mantiuk, Karol Myszkowski, Hans-Peter Seidel. A Perceptual Framework for Contrast Processing of High Dynamic Range Images In: ACM Transactions on Applied Perception 3 (3), pp. 286-308, 2006. http://www.mpi-inf.mpg.de/~mantiuk/contrast_domain/ This version contains several performance improvements made by Ed Brambley. If you find this TMO useful in your research project, please cite the paper above. The result of this TMO requires gamma correction. OPTIONS
--equalize-contrast <val>, -e <val> Use the contrast equalization algorithm. If this option is not specified, the contrast mapping algorithm will be used. The contrast equalization algorithm requires scaling parameter that controls the amount sharpenning, which can range from 0.1 (very sharp) to 1 (less sharp). contrast equalization results in very sharp, but also less natural images. contrast equalization may also enhance noise in low-qual- ity images. --factor <val>, -f <val> Contrast scaling factor (values 0-1) determines how much contrast magnitudes should be reduced. This option cannot be used with equalize-contrast. The lower value results in a sharper image. Default value: 0.3 --saturation <val>, -s <val> Saturation correction (values 0-1). The lower value results in stronger desaturation. Default value: 0.8 --verbose, -v Print additional information during program execution. --quiet, -q Do not display progress report. --help, -h Print list of commandline options. EXAMPLES
pfsin memorial.hdr | pfstmo_mantiuk06 -f 0.5 | pfsgamma -g 2.2 | pfsout memorial.png Tone map an image using contrast mapping and save it in the PNG format. pfsin memorial.hdr | pfstmo_mantiuk06 -e 0.5 | pfsgamma -g 2.2 | pfsout memorial.png The same as above, but use the contrast equalization algorithm. pfsin memorial.hdr | pfstmo_mantiuk06 -f 0.5 -s 1 | pfsview For optimal results you can output the result to pfsview and manually adjust the dynamic range window. Then save the image in pfsview by selecting 'Save image...' from the 'Frame' menu or pressing 's'. pfsin bridge.jpg --linear | pfsclamp --min 0.007 | pfstmo_mantiuk06 | pfsview Enhance the low-dynamic range image 'bridge' and view the result. pfsclamp command reduces noise for low code values. SEE ALSO
pfsgamma(1) pfsclamp(1) pfsin(1) pfsout(1) pfsview(1) BUGS
Please report bugs and comments to the pfstools discussion group (http://groups.google.com/group/pfstools). pfstmo_mantiuk06(1)
All times are GMT -4. The time now is 02:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy