9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear Unix Forum Group Members,
Please do let me know how I can replace the double pipe with single pipe recursively on single record.
Sample Input Data:
DN set|Call prefix||| Called number address nature
0||| *789|||||||ALL number types
0||| 00||||||||ALL number types
10||... (5 Replies)
Discussion started by: srinu.kadem
2. Shell Programming and Scripting
I have a file with 100 lines. On 50 th line , from position 5 to rest of the data , I need to change the occurrence of A to B and Occurrence of M to N.
Input file :
Line2 (40 Replies)
Discussion started by: Rajesh_us
3. Shell Programming and Scripting
I want to find a line that has "new = 0" in it, then search back based on field $4 () in the current line, and find the first line that has field $4 and "last fetch"
Grep or Awk preferred.
Here is what the data looks like:
2013-12-12 12:10:30,117 TRACE last fetch: Thu Dec 12... (7 Replies)
Discussion started by: JimBurns
4. UNIX for Dummies Questions & Answers
this is my first and probably not my last question around here. I do hope you can help or at least point me in the right direction.
My question is as follows, I need to find files and possible folders which are not owner = AAA group = BBB with a said location and all sub folders ... (7 Replies)
Discussion started by: kilobyter
5. UNIX for Dummies Questions & Answers
Ive spent ages trying to find an explanation for how to do this on the web, but now feel like I'm :wall:
I would like to change each occurence (there are many within my script) of the following:
in Vim. I know how to search and replace when it is just single lines... (2 Replies)
Discussion started by: blueade7
6. UNIX for Dummies Questions & Answers
Hi, I need to do a global search and replacement of a non-ascii character. Let me first give the background of my problem.
Very frequently, I need to copy set of references from different sources. Typically, a reference would like this:
Banumathy et al., 2002 G. Banumathy, V. Singh and U.... (1 Reply)
Discussion started by: effjay
7. Shell Programming and Scripting
Here is what I am trying to do: I am taking a class at school that is using a lot of literature that is in the public domain, and available for free on the web. Rather than read them online in HTML, I have been pulling them down and quickly and dirtily tagging them up and typesetting... (4 Replies)
Discussion started by: ccox85
8. Shell Programming and Scripting
New to scripting.. think i need sed to do the following but need help.
have a properties files with variable i need to replace using substitution
for e.g in x.properties
have a shell script with following
echo "Edit... (3 Replies)
Discussion started by: cookie23patel
9. UNIX for Dummies Questions & Answers
Im new to this forum, and also to Unix.
I have a requirement like this.
i have one DAT file that contains data as follows,
i have one configuration file that contains data as follows,
DEDUCTION (5 Replies)
Discussion started by: bkiran