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 Mike Lewis 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: uzel
  • Order by date
  1. uzel

    How clear positional parameter

    Hello, I would like done the following functionality. At launching time 1) If argument is added to the script-name, argument is used as variable via $1 positional parameter. 2) If no argument is added to the script-name, argument is prompted and read via read v1? command. It does not work...
  2. uzel

    awk with « ^A » as separator (two caracters)

    Thanks for your help it work fine. Uzel,
  3. uzel

    awk with « ^A » as separator (two caracters)

    Hi PHV, Yes I tried, bsp:/admin/temp> nawk -F'[A^]+' '{print $1"|"$2"|"$5}' file1 aax|bbbx|dddx aax|bbbx|dddx instead of aax|bbbx|AABB I'm not able to make it working proberly. Uzel,
  4. uzel

    awk with « ^A » as separator (two caracters)

    Thanks both for your answer. PHV: I'm looking for "^A" not "A^" Taupirho: Thanks, I just have to find a substitute character not in the text file yet and I'll be great. Uzel,
  5. uzel

    awk with « ^A » as separator (two caracters)

    Hello, I have a text file with ^A as separator (136;101). I have line in a text file like the following example: aax^Abbbx^AcAccx^Adddx^AAABB aax^Abbbx^AcAccx^Adddx^AAABB I expect to remove everything between the second ^A and the fourth ^A. The result must be: aax^Abbbx^AAABB aax^Abbbx^AAABB...

Part and Inventory Search

Back
Top