Search Results

Search: Posts Made By: larne
3,704
Posted By larne
solved with printf :o
solved with printf :o
3,704
Posted By larne
change awk string result to number
How could I change the lines with grep and awk to output a number instead of a string?

case '2':
@ L0 = 1
@ LN = `grep RS_D resample.in | awk '{print $3}'`
@ P0 = 1
@ PN =...
6,475
Posted By larne
thanks a lot
thanks a lot
6,475
Posted By larne
parse long input parameters
anybody know a nice way to parse long input parameters such as --path /dir1/dir2/ (see below). Now I have more than 10 input parameters and it's confusing having parameters like -q something, I would...
13,616
Posted By larne
perfect, thanks
perfect, thanks
13,616
Posted By larne
change line found by pattern using sed
I want to change a line like

CPM_THRESHOLD 0.8 //
to a new value using sed
I am trying

sed -i "s/CPM_THRESHOLD/CPM_THRESHOLD\t$COH\t\t\/\//" $INPUT_4
but how can i substitute...
6,118
Posted By larne
deleting lines after pattern using sed
I have seen there are many sed posts but still it is quite difficult to apply other post to my own problem

How can I delete all lines in a file from 2 lines after this pattern...
4,054
Posted By larne
thank you very much for the clean solution I...
thank you very much for the clean solution
I just had to had add \" around "$0" since the file name contains spaces
4,054
Posted By larne
file renaming
How can I rename files named like these

iq - 000001 - 2008.07.31 - 14.49.47 - location1.bin
iq - 000001 - 2008.07.31 - 14.49.47 - location12.bin
iq - 000008 - 2008.07.31 - 14.52.01 -...
2,777
Posted By larne
thanks!
thanks!
2,777
Posted By larne
script don't stop
Hello everybody!
I am new to this and I am trying to change a script in an open source program that plots some offset vectors and then calls a postscript viewer. I have commented away the call for...
Showing results 1 to 11 of 11

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