01-12-2020
Manipulating UNIX and sqlite db
Hi there,
I have multiple rows of data.
For example:
S/N | Name| Age
I would like to store them into sqlite database after doing some grepping in CSV and output them into console/html format.
Will it be possible?
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i'm on freebsd 5.2.1, and from a fresh installation i've used pkg_add for the latest ported version of apache, as well as installing php 5. supposedly php5 comes with native support for sqlite (in the binary package), and this is what i added.
i am trying to install a site engine (the 'gyrator'... (0 Replies)
Discussion started by: brandan
0 Replies
2. HP-UX
Hi everybody,
We have a cgi application which accesses sqlite database. It works fine in Linux environment but the same code doesn't enter data into the database when done in HP-UX environment. Should the codes vary depending on whether it is Linux or HP-UX.
Regards
Ruma (1 Reply)
Discussion started by: perlprg
1 Replies
3. Shell Programming and Scripting
Hello All,
I am trying to write a Perl script that is using 'SQLite' as the application needs a very light weight Database. I wanted to know how to catch exceptions when I run queries in SQLite. Without this the Perl script comes to a halt everytime an exception occurs. Please help.
Regards,... (4 Replies)
Discussion started by: garric
4 Replies
4. Shell Programming and Scripting
Hi everyone,
I have a requirement that requires me to fill an sqlite database with 100,000 entries (no duplicates).
I will start out by giving the command that will insert the values necessary to populate the database:
# sqlite /var/local/database/dblist "insert into list... (2 Replies)
Discussion started by: ogoy
2 Replies
5. Shell Programming and Scripting
hlow all
i have file like this :
BDG0100.2011091620162100CF5341.DAT
BDG0100.2011091720175500CF5342.DAT
BDG0100.2011091820192900CF5343.DAT
BDG0100.2011091920210600CF5344.DAT
but now i want make file like this
20110916.DAT
20110919.DAT
20110918.DAT
20110919.DAT
so what i can do that... (3 Replies)
Discussion started by: zvtral
3 Replies
6. UNIX and Linux Applications
Hello,
I'm not sure this is quite the right place, but there do seem to be allot of posts with folks using ruby to play nicely with databases so I thought I would give it a go.
I am starting a long process of developing a database application bases on SQLite and ruby. This will run on various... (1 Reply)
Discussion started by: LMHmedchem
1 Replies
7. Shell Programming and Scripting
I am wondering if there is away to increment a date in c shell. What I need to do is basic, but I lack the knowledge.
I have they following environmental variable in my job scripts
setenv YYYY `date '+%Y'`
I then set YYYY to be part of my output dataset name:
setenv dd_OUTPUTP... (1 Reply)
Discussion started by: jclanc8
1 Replies
8. Shell Programming and Scripting
Hi
I have a file content.txt where I want to replace the value of second column of the file with half of the value of that column.
I only have to replace if the second column starts with COM_, rest all values have to be same
eg,
cat content.txt
|COM_A|123|JHV|8475
|ABC|2765|BV|876... (7 Replies)
Discussion started by: infyanurag
7 Replies
LEARN ABOUT DEBIAN
dose-ceve
CEVE(1) DOSE Tools CEVE(1)
NAME
dose-ceve - parse package metadata
SYNOPSIS
dose-ceve [-h] [-v] [-e pkgspec] [-c pkgspec] [-r pkgspec] [--depth=n] [-t format] [-o filename] input-spec
DESCRIPTION
Dose-ceve is a generalized metadata parser. It reads package specifications, extracts package metadata from them, performs some
manipulations, and outputs the package metadata in one of several formats.
OPTIONS
-h This option displays the help message. Can also be specified as --help.
-v Be verbose. This option can be repeated for more verbosity.
-e pkgspec
(Option Not Implemented Yet) Extract the transitive closure of packages connected (by conflict or dependency) to any of the packages
that satisfy pkgspec. Such a package specification is a list of packages (separated by a semicolon), where each package is specified as
follows: (name,version). This option can also be specified as --extract=pkgspec.
-c pkgspec
Similar to the -c option, but only uses the dependency relation to make the transitive closure. This option can also be specified as
--cone=pkgspec.
-r pkgspec
Similar to the -e and -c options, but uses the reverse dependency relation to make the transitive closure. This option can also be
specified as --rcone=pkgspec.
--depth=n
In combination with the -e, -c or -r options, this specifies the maximum depth for the transitive closure. =item -t format
Specifies the output format to use. Possible values are dot for a graph output in Dot/GraphViz format, cnf for an output in CNF format,
dimacs for an output in the DIMACS format for CNF formulae, and cudf for a pretty-print output in an RFC 822-like format. This option
can also be specified as --outtype=format.
-o filename
Instead of stdout, send output to the file filename. This option can also be specified as --outfile=filename. =item input-spec
This is a URL specifying both the input format and the file to get the input from. Possible schemes are: =item *
cudf for cudf files =item *
deb for Debian package files (possibly compressed with gzip(1) or bzip2(1), depending on compile-time options for dose3) =item *
debstdin for Debian package files read from standard input =item *
eclipse for Eclipse (p2) package files =item *
pgsql for PostgreSQL databasess =item *
sqlite for sqlite databases
* hdlist for RPM hdlists =item *
synth for urpmi synthesis hdlists
Some examples of URLs:
* deb://Packages.gz (the Debian file packages.gz in the current directory)
* cudf:///home/examples/cudf/test.cudf (the CUDF file /home/examples/cudf/test.cudf)
* psql://user@db.mancoosi.org:723/packages (the database packages on host db.mancoosi.org on port 723, accessed as user user)
dose3 3.0.2 2012-10-03 CEVE(1)