12-19-2012
It worked just fine and perfect for me.
Thanks pamu and Rudic.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
having a slight problem. any clues would help. Can't seem to get any output when I run a simple echo script.
grex.cyberspace.org% chmod a+x test
grex.cyberspace.org% ls -l test
-rwxrwx--x 1 gordybh cohorts 20 Dec 13 20:22 test
grex.cyberspace.org% cat test
#!/bin/sh
echo test... (2 Replies)
Discussion started by: wmosley2
2 Replies
2. Shell Programming and Scripting
I have written a shell script which looks like below:
grep -v ',0,' ./DATA/abc.001 > ./DATA/abc.mid
egrep $GREPSEARCH ./DATA/ebc.mid > ./DATA/abc.cut
the variable GREPSEARCH has values like the below:
... (3 Replies)
Discussion started by: igandu
3 Replies
3. UNIX for Dummies Questions & Answers
does it make any difference in terms of performance while using any of the below mentioned code for the same requirement which processes continuously coming files in the I/P directory .
Please provide ur viewws
ls -tr $SAPRESPONSEGOFILE | sed "s/go/dat/g" |
while read SAPRESPONSEFILES... (3 Replies)
Discussion started by: praviper
3 Replies
4. UNIX for Dummies Questions & Answers
hello,
does anyone know how to expand the column width so it could contain full USER cell and not cut it in top ? Now it has eleven symbols but I can see only eight
actualy I found only PID, PPID and %CPU columns variation possibilities in changelog (procps v.3.2.5).
thanks in advance. (1 Reply)
Discussion started by: bugs_moran
1 Replies
5. Shell Programming and Scripting
Hi All
I have a flat text file. Each line in it contains a "/full path/filename". The last three columns are predictable, but directory depth of each line varies.
I want to sort on the last three columns, starting from the last, 2nd last and 3rd last. In that order. The last three columns... (6 Replies)
Discussion started by: JakeKatz
6 Replies
6. Linux
Hello Ya'all:
I hope Zaxxon is still around. I read a posting about compiling/updating the kernel from source. I'm doing a very specific upgrade, and am wondering if there is anything different or if there's an easy way to do this: I am using kernel version 2.6.18-92, and have done some... (1 Reply)
Discussion started by: Statue
1 Replies
7. Shell Programming and Scripting
I use many different machines at work, each with different versions of o/s's and installed applications. Sed in vi is particularly inconvenient in the sense that sometimes it will accept the "\r" as a carriage return, sometimes not. Same thing with "\n". For instance, if I have a list of hosts... (7 Replies)
Discussion started by: MaindotC
7 Replies
8. UNIX for Dummies Questions & Answers
Hi
i have folder of 26 GB on server A and want to copy to server B .i used the below commands to check file size and scp copy
du -h /folder : its shows 26G on server A
from server B:
scp -r user@serverA:/folder/* ./copying got initiated and i am checking the file size on server B... (7 Replies)
Discussion started by: rakeshkumar
7 Replies
9. Shell Programming and Scripting
I have a file like this:
ASSPASVFETQY,hTRBV12-4,hTRBJ2-5,2
ASSPASTGGDYGYT,hTRBV18,hTRBJ1-2,2
ASSPASGDGYT,hTRBV5-1,hTRBJ1-2,2
ASSPASFPEDTQY,hTRBV27,hTRBJ2-3,2
ASSPARVNYGYT,hTRBV5-1,hTRBJ1-2,2
ASSPARTSGGLNEQF,hTRBV6-4,hTRBJ2-1,2
ASSPARQSYNEQF,hTRBV11-1,hTRBJ2-1,2... (4 Replies)
Discussion started by: xshang
4 Replies
10. Shell Programming and Scripting
Hello,
Currently i have a script which will disply the results in plain text format.
I want to format the result in more readable format like Making bold headings and format with colors etc. Something like html and send that content as email.
Please help me how i can do that.
I am using... (10 Replies)
Discussion started by: joy lobo
10 Replies
LEARN ABOUT DEBIAN
postgresql_autodoc
POSTGRESQL_AUTODOC(1) General Commands Manual POSTGRESQL_AUTODOC(1)
NAME
postgresql_autodoc - creates postgresql tables overview
SYNOPSIS
postgresql_autodoc [options]
DESCRIPTION
This is a utility which will run through PostgreSQL system tables and returns HTML, DOT, and 2 styles of XML which describes the database.
The HTML is human readable (via webbrowser). The first style of XML is actually the fileformat of Dia, a UML diagram tool. The second type
of XML is similar to the HTML but in the Docbook 4 format. It enables yous to mix in other docbook documentation via the XREFs, generating
PDFs, HTML, RTF, or other formatted documents. Between these tools and JavaDoc with the appropriate XREFs, documentation about a project
can be generated quickly and be easily updatable yet have a very professional look with some DSSSL work.
OPTIONS
-d <dbname>
Specify database name to connect to (default: $database)
-f <file>
Specify output file prefix (default: $database)
-h <host>
Specify database server host (default: localhost)
-p <port>
Specify database server port (default: 5432)
-u <username>
Specify database username (default: $dbuser)
--password=<pw>
Specify database password (default: blank)
-l <path>
Path to the templates (default: /usr/share/postgresql-autodoc)
-t <output>
Type of output wanted (default: All in template library)
-s <schema>
Specify a specific schema to match. Technically this is a regular expression but anything other than a specific name may have
unusual results.
--statistics
In 7.4 and later, with the contrib module pgstattuple installed we can gather statistics on the tables in the database (average
size, free space, disk space used, dead tuple counts, etc.) This is disk intensive on large databases as all pages must be visited.
AUTHOR
Rod Taylor <autodoc@rbt.ca>
21/01/2005 POSTGRESQL_AUTODOC(1)