Search Results

Search: Posts Made By: creamcheese
3,943
Posted By creamcheese
Thanks a lot, that works perfect.
Thanks a lot, that works perfect.
3,943
Posted By creamcheese
Several processes writing to an SQLite database at the same time
I have several bash scripts that write to an SQLite3 database at the same time. At some occasion the database returns: SQL error: database is locked.

How would be the best way, to make a process...
5,116
Posted By creamcheese
You were absolutely right! Exchanging tabs...
You were absolutely right!

Exchanging tabs with spaces solved the problem.

Thanks a lot for that
5,116
Posted By creamcheese
Hi, thanks for your reply: Bash-Version: ...
Hi,
thanks for your reply:

Bash-Version:

/bin/bash --version
GNU bash, version 4.1.5(1)-release (i486-pc-linux-gnu)


OS: Lubunut 9.10

Editor: gedit 2.30.3

Copy/paste method: I used...
5,116
Posted By creamcheese
A copy paste problem with loops in bash
Hello All,

i have a really strange copy paste problem. When I write some loops in an editor for example:


for j in 1 2 3
do
echo "$j"
done


and I want to paste it to the shell, the...
1,637
Posted By creamcheese
Thanks for the quick reply. Hmm thats a good...
Thanks for the quick reply.

Hmm thats a good way too. My ultimate goal is to get something like:

elevation 71.5, could I also strip all characters after elevatoins, but the 71.5?

thanks alot!
1,637
Posted By creamcheese
A grep question
Dear All,

is it possible that grep returns the match and the maining part of a line and not the everything before?

E.g.

echo "<tr align=right><td>elevation</td><td>71.5</td></tr>" | grep...
2,040
Posted By creamcheese
Great, thanks a lot it works perfectly and does...
Great, thanks a lot it works perfectly and does exactly what I was looking for!
2,040
Posted By creamcheese
That would be great. I havent worked with Perl so...
That would be great. I havent worked with Perl so fare but I am familiar with other programming languages.

Thanks J
2,040
Posted By creamcheese
Hi, thanks for your reply, the sample stays...
Hi,

thanks for your reply, the sample stays more or less the same, only the varaible change in their position.


BroadLeaves 43.6 clc2006 37.6 Conifers 8.3 edge100 5.1 dem30sec 3.9 aspect 1.5...
2,040
Posted By creamcheese
awk - rearange data
Dear All,

once again I am encountering a problem with awk.

The file looks like this:


BroadLeaves 43.6 clc2006 37.6 Conifers 8.3 edge100 5.1 dem30sec 3.9 aspect 1.5 slope 0
dem30sec 58.3...
2,216
Posted By creamcheese
merci!
merci!
2,216
Posted By creamcheese
Extracting numbers from a string
Hello Everyone,

i have quick question.

I have file names like: bin_map300.asc and I would like to extract grid300.

My approach so far:


name=bin_map300.asc
echo ${name%%.*}
echo...
3,862
Posted By creamcheese
wonderful, thanks a lot. It works great,...
wonderful, thanks a lot. It works great, eventhough I cant follow it in every detail yet, but thanks again!
3,862
Posted By creamcheese
appending several columns with awk and paste
Hello,

I am trying to solve for a couple of hours now the following problem:

I have n files and would like to add the third column of each file to a new file:

temp1.txt

1 2 3
1 2 3
1 2...
Showing results 1 to 15 of 15

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