Right now I have a bunch case statement wrapped around multiple groups of patterns. I want to make each pattern end-user definable in files instead. Can the bold parts be imported from a file simply? Code injection attack is not a big concern since there is access control on the share drive but if I have a choice in doing it in a relatively safe way, I'd prefer that.
Mike
hi all
i have a file in my box, which is so huge and full file is in a single line.
In this file i have to look for a pattern "ABC01234567"
In this above mentioned pattern ABC is fixed and number might change . it will a eight digit random number
Thanks so much for all you help
... (1 Reply)
Hi all,
I have a question on how to search for a pattern in a file and return a value if it is present at that particular location.
How to read each line and each character for the pattern in the file of any format.
Eg for the file format:
attached the file (1 Reply)
I have some files, those are abbreviated (ed,ea, and bi)
company_ed_20100719.txt
company_ea_20100719.txt
company_bi_20100719.txt
I would like to rename these files by replacing
ed with EmployeeDetails
ea with EmployeeAddress
bi with BankInfomration
as
company_... (3 Replies)
Hi,
I would like to find a pattern in a file as follows:
I would like to find "or" "OR" "and" "AND" between two numeric values.
I have tried this:
grep '**or*'
But does not work.
Appreciate help on this. (4 Replies)
I need help as to how to write a script in Unix for the following:
We have 3 servers;
The mainframe will FTP them to a folder. In that folder we will need the script to look and see if the specific file name is there and load it to the correct table.
Can anyone pls help me out with... (2 Replies)
Hi,
Need your help in this.
I have an input file that has multiple enrollment_number, somewhat like
1234567
8901234
9856321
6732187
7623465
Now i have to search and delete these enrollment_number recursively from all the files that are within multiple sub-directories of a... (10 Replies)
Hi All,
I have a file PSU_ 20130805_201308041234522
i want to search this file where variable day=20130805 and curday=20130804
after currday date some numbers will be added.how to search this file by using day and curday.
Thanks in advance. (3 Replies)
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
The intended result should be :
PDF converters
'empty line'
gpdftext and pdftotext?xml version="1.0"?>
xml:space="preserve"><note-content version="0.1" xmlns:/tomboy/link" xmlns:size="http://beatniksoftware.com/tomboy/size">PDF converters
gpdftext and pdftotext</note-content>... (9 Replies)