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 Wanet Telecoms Ltd 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: amkipnis
  • Content: Threads
  • Order by date
  1. amkipnis

    Detect records with encoded characters in the file

    Greetings, I have a datafile with records containing encoded characters (unknown format). I need to write a script which would find and move those records to another directory as well as subtitute those encoded characters with question marks. Here is what I wrote so far... For some reason, any...
  2. amkipnis

    Deleting XML block from the XML file

    Hi, I am trying to write the sed script which would exclude the 10-lines xml segment based on the given and found pattern. All 10-lines segments are indentically structured. Here is an example of the first 3 records of master XML file printers.conf: <Printer CL_010002> Info pa010002 DeviceURI...
  3. amkipnis

    Using awk to parse off multiple records from the variable length file

    Greetings, could anyone please assist me with a following. I am trying to parse off and reconstruct the input file that would have a multiple sections separated by "-------------". I would like to extract two parts of each section. First is value of the records that starts with "Name:"...
  4. amkipnis

    Running script via cron job on last Sunday of each month.

    Hello, I have a need to run a script on last Sunday of the month. What is the best approach for this task. Any help is appreciated. Thanks. Alex.
  5. amkipnis

    Math operations in awk statement

    Greetings, When I try to execute the following awk command I am extracting the third column (size value) from the file which is given in Bytes (by default). I am getting error while trying calculate total size for all file's records and displaing them in the readable range (Bytes, KB, MB, GB...
  6. amkipnis

    Extracting 7-8 bytes string from file with variable lenght records

    Hello PHV, I have been using your solution for a while and it worked OK until I got to different problem. Here is a list: /Folder1/Next Directory/Operational/Pricing/Pricing Matrices/Next Directory/Pending/P0I5002_03-25-2004.roi /Folder1/Next Directory/Operational/Pricing/Pricing Matrices/Next...
  7. amkipnis

    Extracting string from file with variable lenght records

    Hello, I have a file with variable length records. I need to extract the 7 bytes pattern &quot;P??????&quot; , then contatenated with &quot;.txt&quot; and save it to the file. How can I do it with awk or ksh. Any help is greatly appreciated. Here are some &quot;rules&quot;. Each field across...

Part and Inventory Search

Back
Top