10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am sure some gurus will find a better way of doing this. FYI, I've manually modified some of the data 'coz they are somewhat confidential, so there may be some typo errors.
At the moment, I have 3 files that I am trying to search for. Sometime in the future, it may go beyond 3... (2 Replies)
Discussion started by: newbie_01
2. Shell Programming and Scripting
I have a file name like FIRST_DPF_DAILY_CUST_0826152322.txt
i need to extract the string after the third "_" underscore upto timestamp ends i.e CUST_0826152322
can anyone help me with the code
Srikanth Sagi (3 Replies)
Discussion started by: srikanth_sagi
3. Shell Programming and Scripting
I have a list of zipped files. I want to grep for a string in all files and get a list of file names that contain the string. But without unzipping them before that, more like using something like gzcat.
My OS is:
SunOS test 5.10 Generic_142900-13 sun4u sparc SUNW,SPARC-Enterprise (8 Replies)
Discussion started by: apenkov
4. Shell Programming and Scripting
I need to search a particular `String Pattern` in around `10000 files` and find the records which contains that `particular pattern`. I can use `grep` here, but it is taking lots of time.
Below is the command I am using to search a `particular string pattern` after... (3 Replies)
Discussion started by: raihan26
5. Shell Programming and Scripting
I am attempting to grep an exact string from a series of files within a directory and append that output to the filename when it is present in the file. I've been after this all day with no luck. Thanks for your help in advance :wall:. (4 Replies)
Discussion started by: JC_1
6. Shell Programming and Scripting
I have 2 files with a common column.
File 1 looks like
NAME START POS1 POS2
N1 1234 1236 1237
N2 1245 1248 1250
File 2 looks like
... (25 Replies)
Discussion started by: alpesh
7. Shell Programming and Scripting
I have some data in the form of
in the above data i need to write a script so thet it will append "|||" to the third occurnace in the string ..... the outout should look like
Firestar. (6 Replies)
Discussion started by: firestar
8. Shell Programming and Scripting
I have input file and i want to extract below strings
<msisdn xmlns="">0492001956</ msisdn> => numaber inside brackets
<resCode>3000</resCode> => 3000 needs to be extracted
getBalances_PSM.c(37): d out</resMessage></ns2:getBalancesResponse> => the word... (14 Replies)
Discussion started by: sushmab82
9. Shell Programming and Scripting
I am new to unix shell scripting.
I have a requirement.
Could anyone help me writing the script for the same?
Here goes the requirement:
I have a config file let's say temp.config.
Here is the data in the config file
state=texas... (5 Replies)
Discussion started by: badrimohanty
10. UNIX for Dummies Questions & Answers
I would like to search for files containing certain string pattern under all the directories under /vobs/vobname and print the output to a file in my home directory. How can I do this?
Note: /vobs/vobname conatins several directories.
Thank You in advance
newbetounix (1 Reply)
Discussion started by: intrigue