AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
 View Only
Expand all | Collapse all

pattern matching from the input arguments

  • 1.  pattern matching from the input arguments

    Posted Thu January 31, 2013 10:55 AM

    Originally posted by: SystemAdmin


    Need help in scripting. users will pass some arguments ... and part of the arguments will have xxxx*bold*5.0.3*bold*xxxxx

    if that is there I'd need to check for XXXX5.0.3XXXX64.tar file at some location

    I'm using if condition with ksh script

    Some times users might enter 5.0.3XXXXX as an argument ....it could be at the beginning.

    Thanks in advance!
    #AIX-Forum


  • 2.  Re: pattern matching from the input arguments

    Posted Thu January 31, 2013 11:00 AM

    Originally posted by: SystemAdmin


    It was
    
    xxxx5.0.3xxxxx
    

    #AIX-Forum