Search Results

Search: Posts Made By: mjoshi
2,379
Posted By mjoshi
vgersh99 : oops i get it , the echo command was...
vgersh99 : oops i get it , the echo command was meant to show me it works on the first case ('M00071.null T' ).

The sed command indeed works for my case. Thanks !
2,379
Posted By mjoshi
vgersh99 : i dont really understand why i need...
vgersh99 : i dont really understand why i need to do

echo 'M00071.null T'

when i want to change all instances of .null in the file


joeyg your solution wont work for me because my file...
2,379
Posted By mjoshi
Search and replace
Hi,

I have a file that looks like the following:

M00071.null T
12 13 1 0 0
SMALL
M00074.null T 1
15 14 0 0 0
SMALL
M14870.null T 2 15431
15 17 0 1 0
SMALL

I want to edit it such...
26,011
Posted By mjoshi
Thanks to all who replied, however only...
Thanks to all who replied, however only Radoulov's script worked.
Radoulov, can you please help me understand your script ?
26,011
Posted By mjoshi
I'm sorry i wrote those Line numbers to explain...
I'm sorry i wrote those Line numbers to explain what i wanted to do.
What i would like to do is

if row number "i" = /SUN> read db @cmpd unit 60/
and row number "i+4" =...
26,011
Posted By mjoshi
In other words what i want to do is the...
In other words what i want to do is the following:

if row number "i" = /SUN> read db @cmpd unit 60/
and row number "i+4" = /tabint>ERROR:/
print row number "i+1"
26,011
Posted By mjoshi
using awk to extract text between two constant strings
Hi,

I have a file from which i need to extract data between two constant strings.
The data looks like this :

Line 1 SUN> read db @cmpd unit 60
Line 2 Parameter: CMPD -> "C00071"
Line 3 ...
Showing results 1 to 7 of 7

 
All times are GMT -4. The time now is 10:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy