Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Tdlearner
  • Content: Threads
  • Order by date
  1. Tdlearner

    Exchange tables /Partitions

    Hi, How can we exchnage partitions in Teradata as we do in oracle ? thanks
  2. Tdlearner

    commandline option

    How come the following works just fine in korn shell on command line ? listpage="ls | more" ; listpage thanks,
  3. Tdlearner

    Place semi-colon at the end of the last line

    How to place a semi-colon at the end of the last line for *.sql files in perl ? thanks,
  4. Tdlearner

    substitute white space

    Hi, The following regex removes white space from head and tail of the line. perl -pe 's/^\s+|\s+$//g' How come it removes both ? It should just remove front because of presence of or (|). Looking it in boolean context, remove space from front or remove space from end. The first substitution...
  5. Tdlearner

    print blank lines

    Hi Guys, I am trying to print blank lines on using perl command line. cat blank.dat Hello ### Blank line commented for visibility #### Second Blank Line ### Blank line commented for visibility #### Command 1 : perl -npe 'if ($_ == m/^$/) {print "This is a blank line \n"}' blank.dat Output...
  6. Tdlearner

    Perl syntax

    Hi All, Can anyone explain the following perl code implemented as a part of KSH script ? It increments the counter for env_var but where is the loop ? Is it a special syntax ? # abc.ksh perl -e $ENV{env_var}++; do abc.pl > abc.dat thanks

Part and Inventory Search

Back
Top