10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
need... (1 Reply)
Discussion started by: benjietambling
2. Shell Programming and Scripting
OS : Oracle Linux 6.5
Shell : bash
I have a file whose contents look like below. I want to count the number of occurences of strings starting with 3-.
How can I do this ? I couldn't wordwrap the below line. Hence it looks long.
'3-90892405251', '3-90892911050', '3-90893144163',... (8 Replies)
Discussion started by: John K
3. Shell Programming and Scripting
Here is my text data excerpted from the webpage:
My target is to get:
What i tried is:
sed 's/.*\(connector\)/1/' input > output
but all characters coming before the word "connector" are deleted which is not good for me.
My question: (9 Replies)
Discussion started by: baris35
4. Shell Programming and Scripting
I have three words say abc def and ghi. I want to write them in a text file each starting (not ending) at particular positions say 1, 42 and 73. It is guaranteed that they will not overwrite.
Length of the three variable may vary.
Any help? (5 Replies)
Discussion started by: Soham
5. Shell Programming and Scripting
My OS is Windows and therefore DOS. Hence I have no access to Unix tools.
I am trying to sort a file in Urdu by the character by which it ends. Each word is on a separate line.
As input, an example in English would help:
I need the sort to be on the... (5 Replies)
Discussion started by: gimley
6. Shell Programming and Scripting
I have a file and i want to extract all words that starts with a pattern 'ABC_' or 'ADF_'
INSERT INTO ABC_DLKFJAL_FJKLD
SELECT DISTINCT S,B,C FROM ADF_DKF_KDFJ_IERU8 A, ABC_LKDJFREUE9_FJKDF B
Output : ABS_DLKFJAL_FJKLD,... (5 Replies)
Discussion started by: Pramod_009
7. UNIX for Advanced & Expert Users
I need to do scrip for printing starting and ending numbers along with count in given file.:wall:
10000014 (2 Replies)
Discussion started by: jackbell2013
8. Shell Programming and Scripting
I am trying to check if files staring with filename but ending with diffent dates e.g. filename.2011-10-25.
The code I am using is below
It works find only if one file is present but returns binary operator expected
when there are mulptiple files.
Please help me correcting it. I... (5 Replies)
Discussion started by: ningy
9. Shell Programming and Scripting
I have a file like this:
wwwe 1 ioie ewew yyy uuu 88
erehrlk 4 ihoiwhe lkjhassad lkhsad yyy mmm 45
jhash lhasdhs lkhsdkjsn ouiyrshroi oihoihswodnw oiyhewe yyy ggg 77
I want to remove everything after "yyy" and including "yyy" from each line in the file.
So I want:... (2 Replies)
Discussion started by: npatwardhan
10. Shell Programming and Scripting
I am new in perl and in regular exprecion; so I am looking for help (or an experienced advise.)
The target is a triming spaces from a string: i.e., remove spases from begining and from end of a string.
One of main point of a searched solution is performance: for current task it is... (2 Replies)
Discussion started by: alex_5161