I had a directory called tmp in /root that was created by another app. This prevented touch from creating a file called tmp in /root.

I noticed this too when I played with fields.awk. It's one of the first things I changed. Applications writing temporary files in the user's home directory is a BIG NO-NO in my book. That's what /tmp is for!

I had a directory called tmp in /root that was created by another app. This prevented touch from creating a file called tmp in /root.

I noticed this too when I played with fields.awk. It's one of the first things I changed. Applications writing temporary files in the user's home directory is a BIG NO-NO in my book. That's what /tmp is for!

But wouldn't the same problem have occurred if the file already existed in /tmp? The way I read it the problem is the failure to detect if the file already exists (and choose a different file name or location if so...). Doesn't matter where the file already exists - the question is what to do about that.

Well, first off, touch simply changes the timestamp on a file -- it doesn't matter whether the file already exists or not -- so there shouldn't have been a permissions problem, unless maybe some of that shady spot/fido business was involved.

Secondly, the shell provides mechanisms for making unique temporary file names, and that's what I always do. The mktemp command is probably the best way, but being old-school I usually use the classic method of including $$ (the process ID) as part of the file name.

Please remember that If you use the above line in a script or make it into
a string, the foreground color ( -fg ) will have to be written '\#432D1E'. As
a general rule, in such situations, the # character of any hex color needs
to be escaped.

Thanks musher. I hadn't forgotten about sqlite but last time I looked it nearly did my head in. I'm currently writing a small database similar to awk. Maybe I should re-visit sqlite._________________Software <-> Distros <-> Tips <-> Newsletters

Posted: Fri 18 Aug 2017, 06:02 Post subject:
When you must create your reports, then only the best go on.

SQLite Manager 0.8.3.1 available as addon in Firefox and Seamonkey 290kb
Easy to create fields, and to fulfill, but so boring !
When you must create your reports, that will get everybody giving up.
Downloads : 5.000.000 (more)

vendee85.jpg

Description

108 reecords, people providing French revolution army with food.

Filesize

78.51 KB

Viewed

1081 Time(s)

_________________Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.

CatDude and myself have been working on a little database application written in gtkdialog. It's small, fast and simple to use. It's based on Ian R. Forsyth's fields.awk database with some serious modifications. It should run on any Linux OS, 32 or 64bit with bash, sed, awk, gawk and gtkdialog2.

There are a lot of things going on under the hood. We even changed the colours to make it easier on the eyes, especially when using it late at night.

Thanks to some1, MochiMoppel and musher0 for a little guidance along the way.

spd-1.1-noarch-1.txz.gz

Description

For Slackware based systems like Slacko and Fatdog.Fake gz, just remove the .gz

For the novice of the world and group.
I am using fatdog64-710, put both the pet and the Txz on a stick.
Inserted stick into the computer with Fatdog clicked on, asked to extract txz file. OK, created files on the stick. Guess wrong location.
Next extracted to running fatdog location sda. What next?

Ran pet, same situation- no obvious actions. Some of us do not know how to run things without a menu entry or at least instructions.

Please a few instructions.

Thanks.

Is the comment regarding dependencies relevant to Fatdog64-100 or are they included in the base or pet?

CatDude and myself have been working on a little database application written in gtkdialog. It's small, fast and simple to use. It's based on Ian R. Forsyth's fields.awk database with some serious modifications. It should run on any Linux OS, 32 or 64bit with bash, sed, awk, gawk and gtkdialog2.

There are a lot of things going on under the hood. We even changed the colours to make it easier on the eyes, especially when using it late at night.

Thanks to some1, MochiMoppel and musher0 for a little guidance along the way.

Hi smokey01.

Have you broken the news to Ian?
I hope he does not have a heart condition.
Did you get his permission first?

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum