shaunarman's Profile User Rating: -----

Reputation: 4 Apprentice
Group:
Active Members
Active Posts:
64 (0.04 per day)
Joined:
21-January 10
Profile Views:
1,756
Last Active:
User is offline Dec 04 2014 07:09 PM
Currently:
Offline

Previous Fields

Country:
US
OS Preference:
Linux
Favorite Browser:
FireFox
Favorite Processor:
AMD
Favorite Gaming Platform:
Classic
Your Car:
Ford
Dream Kudos:
0

Latest Visitors

Icon   shaunarman Mind wide open zzzzzzzzzzzzzzzzzzzzzz!!!!!!!!!!!!!!!!!!!!!!!

Posts I've Made

  1. In Topic: While loop using curl returns 505 error

    Posted 4 Dec 2014

    View Post#define, on 03 December 2014 - 08:54 PM, said:

    I noticed carriage returns \r at the end of some lines. Are you using a text file from a Windows system?

    See common problems here :

    Newline



    That was the issue. Odd thing is VI did not show the ^M charictars I would have expected to see.
    I resolved this issue last night by simply recreating the URL list file and all worked.
  2. In Topic: AIX Syntax error using ksh script

    Posted 10 Oct 2013

    Yes there are a few does in there. I'm sure I can weed them out, but this is just the start of the script, I'm still refining and twee king it

    Sent from my Galaxy Nexus using Xparent Skyblue Tapatalk 2
  3. In Topic: AIX Syntax error using ksh script

    Posted 5 Oct 2013

    OK, ber some suggestions on Freenode I modified it a little:
    function Extend_VG
    {
    extendvg $vg $hdisk
    tempvg=1
    
    until [ $tempvg = "no" ]
            do
            extendvg $vg $hdisk
            echo "Do you have more hdiskpowers to add (Yes/No)? [n]: "
            read hanswer
                    until [ "$hanswer" = "0" ]; do
                    case $tempvg in
                            y|Y|yes|Yes) tempvg="yes";;
                            n|N|No|no) tempvg="no";;
                            *) echo "Please enter a valid option."; press_enter;;
                    esac
    #                       if [$tempvg -eq "no"]
    #                       then
    #                               break
    #                       fi
    done
    
    }
    
    
    

    I still get the same error about line 66 if I add
    ;;[.code] after [code]press_enter
    
    and uncomment
    esac
    

My Information

Member Title:
D.I.C Head
Age:
34 years old
Birthday:
February 3, 1980
Gender:

Contact Information

E-mail:
Click here to e-mail me

Friends

shaunarman hasn't added any friends yet.

Comments

shaunarman has no profile comments yet. Why not say hello?