Sponsored Content
Top Forums Shell Programming and Scripting Trying to do a bit of automation... but nooooo. Post 302422205 by KruesephiikZ` on Monday 17th of May 2010 07:17:49 PM
Old 05-17-2010
Thanks for the suggestions guys, I got it working last night. The problem was here:

Code:
if [ -d wine-* ]
then
    echo Previous directory found, remove? [ Y/N ]
    read yn2
        case $yn2

It should have been:
Code:
if [ -d `pwd`/wine-*/ ]
then
    echo Previous directory found, remove? [ Y/N ]
    read yn2
        case $yn2

 

4 More Discussions You Might Find Interesting

1. Programming

copying or concatinating string from 1st bit, leaving 0th bit

Hello, If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit. How do i do it? (2 Replies)
Discussion started by: jazz
2 Replies

2. Red Hat

boot the 32 bit kernel on a 64 bit PPC Linux machine?

Hi all, I'm looking to cover a corner case for an upcoming test cycle. Is there a way to boot a RedHat Advanced Server 4 (update 3) installed on a Power PC machine to use a 32 bit kernel? This would be similar to what is done here -> https://www.unix.com/aix/26204-aix-platform.html I've done... (0 Replies)
Discussion started by: philrau
0 Replies

3. Shell Programming and Scripting

How to handle 64 bit arithmetic operation at 32 bit compiled perl interpreter?H

Hi, Here is the issue. From the program snippet I have Base: 0x1800000000, Size: 0x3FFE7FFFFFFFF which are of 40 and 56 bits. SO I used use bignum to do the math but summing them up I always failed having correct result. perl interpreter info, perl, v5.8.8 built for... (0 Replies)
Discussion started by: rrd1986
0 Replies

4. Windows & DOS: Issues & Discussions

Which version of Windows Vista to install with a product key? 32-bit or 64-bit?

Hello everyone. I bought a dell laptop (XPS M1330) online which came without a hard drive. There is a Windows Vista Ultimate OEMAct sticker with product key at the bottom case. I checked dell website (here) for this model and it says this model supports both 32 and 64-bit version of Windows... (4 Replies)
Discussion started by: milhan
4 Replies
REDSHIFT(1)							   User Commands						       REDSHIFT(1)

NAME
redshift - Set color temperature of display according to time of day. SYNOPSIS
redshift -l LAT:LON -t DAY:NIGHT [OPTIONS...] DESCRIPTION
redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night. The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt. OPTIONS
-h Display this help message -v Verbose output -V Show program version -b N Screen brightness to apply (max is 1.0) -c FILE Load settings from specified configuration file -g R:G:B Additional gamma correction to apply -l LAT:LON Your current location -l PROVIDER Select provider for automatic location updates (Type `list' to see available providers) -m METHOD Method to use to set color temperature (Type `list' to see available methods) -o One shot mode (do not continuously adjust color temperature) -O TEMP One shot manual mode (set color temperature) -x Reset mode (remove adjustment from screen) -r Disable temperature transitions -t DAY:NIGHT Color temperature to set at daytime/night The neutral temperature is 6500K. Using this value will not change the color temperature of the display. Setting the color temperature to a value higher than this results in more blue light, and setting a lower value will result in more red light. Default values: Daytime temperature: 5500K Night temperature: 3700K Please report bugs to <https://bugs.launchpad.net/redshift> SEE ALSO
The full documentation for redshift is maintained as a Texinfo manual. If the info and redshift programs are properly installed at your site, the command info redshift should give you access to the complete manual. AUTHOR
redshift was written by Martin Koelewijn and Jon Lund Steffensen. This manual page was created by Franziska Lichtblau <rhalina@old-forest.org> for the Debian project (and may be used by others). redshift 1.7 June 2012 REDSHIFT(1)
All times are GMT -4. The time now is 11:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy