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. galger

    Format fields in multiple files to Comma separated format.

    Here is my script #!/usr/bin/sh for mailbox in `ls list` do MAILBOXNAME=`grep "XXXXX NAME" $mailbox | awk '{print $NF}'` MAILBOXOWNER=`grep "XXXXX OWNER" $mailbox |awk '{print $NF}'` IBD3DIGITIDENTIFIER=`grep "XXX 3 DIGIT IDENTIFIER" $mailbox | awk '{print $NF}'` echo...
  2. galger

    Format fields in multiple files to Comma separated format.

    In need script for taking field's from multiple files in one directory All files have the same "fields". example file: --------------------- ##### TEST NAME : xxxxxxxx ##### TEST OWNER : XXXxxxxxx ##### XXX DIGIT IDENTIFIER : AAA, AAA, AAA...
  3. galger

    IFTHENELSE HELP

    I see what you mean .. thanks for the hint. #!/bin/sh # echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:" read PASSWORD case "$PASSWORD" in "SLHNDMP" ) echo "Ran for SLHNDMP " ;; "SLHNDMP_VB" ) echo "Ran for SLHNDMP_VB " ;; "PRGTEST_GDG" ) echo...
  4. galger

    IFTHENELSE HELP

    Is there another way I can State this? It does not work the way it is. Any help would be appreciated. #!/bin/sh # echo "Please enter the word SLHNDMP SLHNDMP_VB PRGTEST_GDG or PRGTEST:" read PASSWORD if [ PASSWORD = SLHNDMP ]; then echo "Ran for SLHNDMP " if [ PASSWORD = SLHNDMP_VB...
  5. galger

    Need to grep for null Characters in an acsii file.

    I guess I should add -- when i vi this file.. I do not see the \0 \0 in the file-- II only see them when I perform od -c on the file. Given two equally predictive theories, choose the simpler.
  6. galger

    Need to grep for null Characters in an acsii file.

    cat file | tr -d '\000' | yourgrep -- this did not work.. fyi Given two equally predictive theories, choose the simpler.
  7. galger

    Need to grep for null Characters in an acsii file.

    Would if wanted to search for the Null characters.? Given two equally predictive theories, choose the simpler.
  8. galger

    Need to grep for null Characters in an acsii file.

    Need to grep for null Characters in an acsii file. I have a file with null characters before a bit of text im am greping for.. It is not showing up in my results. the Null characters are hiding whats in front of them.. How can I grep for them. Line with Null characters...
  9. galger

    find files with 0 bytes

    How to find files with 0 byte. in all directorys find / -file .... Please help.. Given two equally predictive theories, choose the simpler.
  10. galger

    How to setup the internet on sun solaris

    soup or salad?
  11. galger

    grep for string in multiple files only one instance.

    Thanks for all of your help.. appreciated.
  12. galger

    grep for string in multiple files only one instance.

    -q does not work for solaris grep.
  13. galger

    grep for string in multiple files only one instance.

    if multiple instances exsist in multiple files.. How can I return only one instance.. I did this a long time ago.. looked through man page. could not find anything.. let know. Thanks in advance. galger.
  14. galger

    Help with shell script.

    Need to change this script so it does not change date or permissions of file edited/copied. and if possible- if file is being used by another process - do not touch and move on to next file. Decription: change text within multiple files : # chtext - change text within multiple files if [ $#...
  15. galger

    grep for string question.

    THANKS!
  16. galger

    grep for string question.

    Simple grep of file... grep "^*" file file~~~~~ pazooc1:\ :.retry.stwait=00.00.3:\ :cortr.sattpts=3:\ :cn.retry.ltwat=00.10.00:\ :cn.rety.ltattempts=6:\ :tcpax.time.toait=0:\ :runsep.max.time.to.wit=0:\ systemzoo:\ :dkdkd :sksdk ~~~~~~~~ grep "^*" file This should pick up...
  17. galger

    Un cpioing a file in linux Redhat.9.0

    uncpioing a file success for redhat9 cat cpiofile.cpio | cpio -idvm
  18. galger

    Un cpioing a file in linux Redhat.9.0

    ty - i will try it on monday

Part and Inventory Search

Back
Top