10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have one big file of size 9GB (big_file.txt). This big file has sentences and paragraphs like any usual English document. I have another file consisting of replacement strings for sed to use. The file name is replace.sed and each entry in one line looks like this:
s/\<b is... (2 Replies)
Discussion started by: shoaibjameel123
2. Shell Programming and Scripting
I am new to unix, please help me in this.
I have a file named properties.
The content of the file is :
south.url=https://qa.south.corp.com/prop/end... (2 Replies)
Discussion started by: tolearn
3. UNIX for Dummies Questions & Answers
I am looking for bash or awk script to solve the following.
Input File 1:
>Min_0-t10270-RA|>Min_0-t10270-RA protein AED:0.41 eAED:0.46 QI:0|0|0|0.25|1|1|4|0|190
>Min_0-t10271-RA|>Min_0-t10271-RA protein... (5 Replies)
Discussion started by: Fahmida
I am writing code for a binary search tree search and when I compile it i am getting strange errors such as, " /tmp/ccJ4X8Xu.o: In function `btree::btree()':
project1.cpp:(.text+0x0): multiple definition of `btree::btree()' "
What does that mean exactly?
#define... (1 Reply)
Discussion started by: meredith1990
5. Shell Programming and Scripting
i want to search particular string and want to replance next line value.
following is the test file.
search string is
,10:1 "???" may contain any 3 character it should remain the same and next line replace with ,10:50
tmp,123 --- if match tmp,??? then... (3 Replies)
Discussion started by: arvindng
6. UNIX and Linux Applications
The following code loops through every file with an error extension and then loops through all XML files in that directory and replaces the target character @ with / . The problem I have is that if there is more than one occurance of @ in each individual file it doesn't replace it. Any... (2 Replies)
Discussion started by: Fishn
7. Shell Programming and Scripting
I really would appreciate some help with a bash script for some string manipulation on an SQL dump:
I'd like to be able to rename "sites/WHATEVER/files" to "sites/SOMETHINGELSE/files" within the sql dump.
This is quite easy with sed:
sed -e... (1 Reply)
Discussion started by: otrotipo
8. Shell Programming and Scripting
In a file FILE, the following lines appear :
WORD 8 8 8
Directly in the prompt, if I type
$sed '/WORD/s/8/10/g' FILE
it replace the 8's by 10's in file :
WORD 10 10 10
... (9 Replies)
Discussion started by: tipi
9. Shell Programming and Scripting
I have a file that I need to be able to find a pattern match on a line, search that line for a text pattern, and replace that text.
An example of 4 lines in my file is:
1. MatchText_randomNumberOfText moreData ReplaceMe moreData
2. MatchText_randomNumberOfText moreData moreData... (4 Replies)
Discussion started by: Crypto
10. UNIX for Dummies Questions & Answers
I want to carry out search & replace for the paths mentioned in the file with the help of vi.
'abc/' to be replaced by 'abc/data'
When I use command in vi as below -
it gives me an error.
How we should deal with '/' part in string for vi search & replace?
... (6 Replies)
Discussion started by: videsh77