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 strongm 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: *

  1. javsap

    Substrings using Korn Shell

    sorry...I should have included that...below is the code I used #!/bin/ksh file='btpy30' read first junk < ${file} typeset -l suffix=&quot;${first#${first%?}}&quot; cp &quot;${file}&quot; &quot;${file}${suffix}&quot;
  2. javsap

    Substrings using Korn Shell

    Thanks for your help folks..I was able to resolve this problem yesterday.
  3. javsap

    Need help with substrings in UNIX scripting

    I got the script to work... You are awesome vlad!!
  4. javsap

    Need help with substrings in UNIX scripting

    Thanks so much Vlad for your solution.. It works except I am getting this error message.... copy[4]: -: This is not an identifier. Can the &quot;-&quot; be replaced by another character? Also, is there any way to write the substring character in lower case...thanks again..
  5. javsap

    Need help with substrings in UNIX scripting

    I am not able to get substring syntax using awk to work in my UNIX script (using IBM AIX and Korn Shell). I want to look at the first record from my data files and then copy the data file to a new file name based on a string in the first record. In the example (first record from data file)...
  6. javsap

    Substrings using Korn Shell

    I am not able to get substring syntax using awk to work in my UNIX script. I want to look at the first record from my data files and then copy the data file to a new file name based on a string in the first record. In the example (first record from data file) below the data file is called...

Part and Inventory Search

Back
Top