Search Results

Search: Posts Made By: plsrn
4,857
Posted By plsrn
Ok, now it works. I slighlty modified your final...
Ok, now it works. I slighlty modified your final suggestion using the following code. Thanks a lot for your (really impressive) effort in helping me!
4,857
Posted By plsrn
:b: It works great!!! Only three minor problems: ...
:b: It works great!!! Only three minor problems:

1) I receive the following error message

./xx.sh: 5: [[: not found

2) 'false' and 'true' are actually false and true, without apices. For...
4,857
Posted By plsrn
varname and samevarname are for sure the same....
varname and samevarname are for sure the same. Concerning somethingtype and applysomething in principle they could be different. For instance I have exactly these names:

that I'd like to transform...
4,857
Posted By plsrn
Yes. Please note that field1type and applyfield1...
Yes. Please note that field1type and applyfield1 are just generic names. You can assume that all occurances have to be replaced; if you find easier to substitute just the first occurance, for me is...
4,857
Posted By plsrn
Thanks, your solution answered my question....
Thanks, your solution answered my question. However, you point out another problem that may appear,i.e., what happens if vary precedes varx. To better explain this point, let me express the problem...
4,857
Posted By plsrn
sed multiline substitution if a condition holds
Hi.

I have the following text file (more precisely a Matlab script):

dummy1 = 5; varx = 'false'; dummy2 = 6;
% ... some general commands
% ...
dummy3 = 7; vary = 'option1'; dummy4 = 8;
...
6,764
Posted By plsrn
output nohup file containg the PID
Hi to everybody.

Is it possible to nohup a process and redirect the output to a file containing the PID?

E.g. if

nohup filename > out.nohup

associate the PID=8074 to filename, is it...
Showing results 1 to 7 of 7

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