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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by allais

  1. allais

    passing parameter from one session to another... (or something)

    Provided you're the same user, and you're using a shell with an history file, just enable the command history search. <br> <br> For example, with ksh it's 'set -o vi' and either ESC-k or ESC-j<br> <br> You can use the windows clipboard too.<br> <br> But I'm not really sure I understand what you...
  2. allais

    Escape Sequence

    HUm... It appears the PIPE sign is removed between core & awk : did you add it? ANother problem may be you use old awk instead of the new one : try with /bin/nawk<br> <br> I tried the command on both AIX(awk) and Solaris(nawk) OS, and it works fine.<br> <br> I'm not sure I understant what you...
  3. allais

    fork failure

    There's a limit of processes per user.<br> <br> The command [ lsattr -E -l sys0 ] will give you the current values and you can change it with [ chdev -l sys0 -a maxuproc='1000' ]<br> <br> You don't need to know the command and can directly access a dedicated menu with [ smitty chgsys ]<br> <br>...
  4. allais

    Escape Sequence

    <br> What about<br> <br> file core ¦ awk -F&quot;[ +AFw-t]+-&quot; '{ print substr($NF,2,length($NF)-2); }'<br> <br> Hope this helps,<br> Patrice <p>Patrice ALLAIS<br><a href=mailto:allais@lucent.com>allais@lucent.com</a><br><a href= > </a><br>
  5. allais

    Escape Sequence

    What about:<br> <br> echo '+AFw-047abc+AFw-047' ¦ awk '{sub(&quot;+AFw-047&quot;,&quot;_&quot;);print}'<br> <br> +AFw-047 is the ASCII code for simple quote<br> <br> <br> Hope this helps,<br> Patrice. <p>Patrice ALLAIS<br><a href=mailto:allais@lucent.com>allais@lucent.com</a><br><a href= > </a><br>
  6. allais

    moving lowercase to uppercase files

    What about:<br> <br> #!/bin/ksh<br> <br> typeset -l LowerCase<br> <br> for File in *.cpy<br> do<br> LowerCase=$File<br> if [[ ! -f $LowerCase ]]<br> then<br> mv $File $LowerCase<br> fi<br> done<br> <br> Hope this helps,<br> Patrice. <p>Patrice ALLAIS<br><a...

Part and Inventory Search

Back
Top