Sponsored Content
Full Discussion: Submit using curl
Operating Systems Linux Ubuntu Submit using curl Post 302426975 by limadario on Thursday 3rd of June 2010 11:26:21 AM
Old 06-03-2010
The input of the file is something like this:
Code:
     2.11           OBSERVATION DATA    M (MIXED)           RINEX VERSION / TYPE
teqc  2009Oct19                         20100212 17:06:33UTCPGM / RUN BY / DATE
EDVD                                                        MARKER NAME
EDVD                                                        MARKER NUMBER
Ricardo Pinho       ENTRE DOURO E VOUGA DIGITAL             OBSERVER / AGENCY
                                                            REC # / TYPE / VERS
30473663            TRM55971.00                             ANT # / TYPE
  4774346.5322  -712193.6930  4155295.3307                  APPROX POSITION XYZ
        0.0000        0.0000        0.0000                  ANTENNA: DELTA H/E/N
     1     1                                                WAVELENGTH FACT L1/2
     5    C1    L1    P2    L2    C2                        # / TYPES OF OBSERV
    30.0000                                                 INTERVAL
Forced Modulo Decimation to 30 seconds                      COMMENT
  2009     8    15     0     0    0.0000000     GPS         TIME OF FIRST OBS
    15                                                      LEAP SECONDS
Linux 2.4.20-8|Pentium IV|gcc -static|Linux|486/DX+         COMMENT
Spider V3,2,1,3225  EDVD                2009 08 15 01:00    COMMENT
THIS RINEX FILE IS CREATED FROM RTCM V3.0 DATA              COMMENT
Site Information :                                          COMMENT
São João da Madeira                                         COMMENT
Aveiro                                                      COMMENT
Portugal                                                    COMMENT
Eurasian                                                    COMMENT
Edifício Villa Balbina, Parrinho                            COMMENT
                                                            END OF HEADER
 09  8 15  0  0  0.0000000  0 12G11G14G17G19G20G23G28G32R03R18R19R20
  20204061.046   106173105.736 9  20204055.026    82732302.065 6
  24317182.598   127787671.463 6  24317177.518    99574813.950 1
  23267139.626   122269661.145 8  23267134.966    95275064.518 3
  22988089.228   120803264.966 8  22988082.808    94132424.697 4
  20444473.224   107436454.811 9  20444466.824    83716723.899 6
  23991862.240   126078089.385 8  23991855.620    98242667.813 1
  22921991.588   120455895.437 8  22921985.708    93861740.967 3
  20345088.586   106914198.779 9  20345083.826    83309773.986 6
  23099342.888   123652633.182 7  23099340.348    96174280.414 5
  22347917.172   119294734.537 8  22347917.112    92784802.964 6
  19275347.132   103110143.247 9  19275344.132    80196786.689 8
  20776460.724   111101100.392 8  20776459.684    86411972.037 7
 09  8 15  0  0 30.0000000  0 12G11G14G17G19G20G23G28G32R03R18R19R20
  20206296.646   106184854.498 9  20206290.986    82741456.941 6
  24329858.198   127854278.930 6  24329852.418    99626715.864 1


Last edited by Scott; 06-03-2010 at 01:44 PM.. Reason: Code tags, please...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to submit cron jobs?

How can I write a script to submit a perl script as a cron job but only have it execute once? After it has executed once, I would like it to automatically insert itself again into cron. I want to avoid the situation where I schedule a cron job to run once a day, but end up with multiple... (4 Replies)
Discussion started by: siegfried
4 Replies

2. Shell Programming and Scripting

Cannot submit a background job

Hi all, I am currently facing a problem when i am submitting a script to run in the background to collect statistics round the clock on an AIX box. I don't have root authority nor can I set it in cron. So when i submit the job, it runs fine, but won't let me signoff. It prompts me that... (2 Replies)
Discussion started by: tansha
2 Replies

3. Forum Support Area for Unregistered Users & Account Problems

cant submit anything

hello admins, i dont use unix.com very often - but when i do have questions, i submit them at the site - but now I cannot submit anything in any forum on the site. The is the only forum i could add a new thread. its tells me that my account could be de-righted, or that im tring to submit... (1 Reply)
Discussion started by: congo
1 Replies

4. News, Links, Events and Announcements

where to submit my work?

Hello sir, I worked out some features using java,shell programming and modified the bash shell. We have come up with 13 new features. I want to know where should I submit my work so that it would be of some use to the open source professionals :confused: (1 Reply)
Discussion started by: nsharath
1 Replies

5. Post Here to Contact Site Administrators and Moderators

Where to submit my scripts

have a doubt. Where I can submit shell scripts done by me ? (5 Replies)
Discussion started by: linuxadmin
5 Replies

6. UNIX for Dummies Questions & Answers

how to submit several commands together

Dear all, I have a simple question. I have many cut commands like below to run. I am wondering how to just type and submit all the commands at once and then each of the command will be run automaticaly one by one. Thanks a lot! cut -d ' ' -f 3-2002 ... (4 Replies)
Discussion started by: forevertl
4 Replies

7. Shell Programming and Scripting

Using cURL to submit a post form

I am trying to write a shell script to use curl in order to automate downloading data from a website. The URL with the post form is here: http://try-db.org/de/InfoBySpecies.php . I have a list of about 1800 different species I want to check. For Example, choose the first species and use the... (2 Replies)
Discussion started by: hansvg
2 Replies

8. Shell Programming and Scripting

Can't submit a form.

hello my script is submitting POST-data to a site (its not my first script, i've done these before many times (include parsing scripts) but this one is tough) so the problem is i'm submitting a form with firefox and in firebug i see WHAT exactly i'm submitting then when i do EXACTLY the... (28 Replies)
Discussion started by: tip78
28 Replies

9. Shell Programming and Scripting

Curl to hit the submit button

Hello, I am looking to hit a URL using curl and click on submit button so that I can get the results. The below is the code <input name="tos_accepted" id="tos_accepted" class="button" type="submit" value="Yes, I Agree"/> <input name="tos_discarded" id="tos_discarded"... (1 Reply)
Discussion started by: Kochappa
1 Replies
COMMENT(7)							   SQL Commands 							COMMENT(7)

NAME
COMMENT - define or change the comment of an object SYNOPSIS
COMMENT ON { TABLE object_name | COLUMN table_name.column_name | AGGREGATE agg_name (agg_type [, ...] ) | CAST (sourcetype AS targettype) | CONSTRAINT constraint_name ON table_name | CONVERSION object_name | DATABASE object_name | DOMAIN object_name | FUNCTION func_name ( [ [ argmode ] [ argname ] argtype [, ...] ] ) | INDEX object_name | LARGE OBJECT large_object_oid | OPERATOR op (leftoperand_type, rightoperand_type) | OPERATOR CLASS object_name USING index_method | OPERATOR FAMILY object_name USING index_method | [ PROCEDURAL ] LANGUAGE object_name | ROLE object_name | RULE rule_name ON table_name | SCHEMA object_name | SEQUENCE object_name | TABLESPACE object_name | TEXT SEARCH CONFIGURATION object_name | TEXT SEARCH DICTIONARY object_name | TEXT SEARCH PARSER object_name | TEXT SEARCH TEMPLATE object_name | TRIGGER trigger_name ON table_name | TYPE object_name | VIEW object_name } IS 'text' DESCRIPTION
COMMENT stores a comment about a database object. To modify a comment, issue a new COMMENT command for the same object. Only one comment string is stored for each object. To remove a com- ment, write NULL in place of the text string. Comments are automatically dropped when the object is dropped. Comments can be viewed using psql's d family of commands. Other user interfaces to retrieve comments can be built atop the same built-in functions that psql uses, namely obj_description, col_description, and shobj_description (see in the documentation). PARAMETERS
object_name table_name.column_name agg_name constraint_name func_name op rule_name trigger_name The name of the object to be commented. Names of tables, aggregates, domains, functions, indexes, operators, operator classes, oper- ator families, sequences, text search objects, types, and views can be schema-qualified. agg_type An input data type on which the aggregate function operates. To reference a zero-argument aggregate function, write * in place of the list of input data types. sourcetype The name of the source data type of the cast. targettype The name of the target data type of the cast. argmode The mode of a function argument: IN, OUT, INOUT, or VARIADIC. If omitted, the default is IN. Note that COMMENT ON FUNCTION does not actually pay any attention to OUT arguments, since only the input arguments are needed to determine the function's identity. So it is sufficient to list the IN, INOUT, and VARIADIC arguments. argname The name of a function argument. Note that COMMENT ON FUNCTION does not actually pay any attention to argument names, since only the argument data types are needed to determine the function's identity. argtype The data type(s) of the function's arguments (optionally schema-qualified), if any. large_object_oid The OID of the large object. PROCEDURAL This is a noise word. text The new comment, written as a string literal; or NULL to drop the comment. NOTES
There is presently no security mechanism for comments: any user connected to a database can see all the comments for objects in that data- base (although only superusers can change comments for objects that they don't own). For shared objects such as databases, roles, and tablespaces comments are stored globally and any user connected to any database can see all the comments for shared objects. Therefore, don't put security-critical information in comments. EXAMPLES
Attach a comment to the table mytable: COMMENT ON TABLE mytable IS 'This is my table.'; Remove it again: COMMENT ON TABLE mytable IS NULL; Some more examples: COMMENT ON AGGREGATE my_aggregate (double precision) IS 'Computes sample variance'; COMMENT ON CAST (text AS int4) IS 'Allow casts from text to int4'; COMMENT ON COLUMN my_table.my_column IS 'Employee ID number'; COMMENT ON CONVERSION my_conv IS 'Conversion to UTF8'; COMMENT ON DATABASE my_database IS 'Development Database'; COMMENT ON DOMAIN my_domain IS 'Email Address Domain'; COMMENT ON FUNCTION my_function (timestamp) IS 'Returns Roman Numeral'; COMMENT ON INDEX my_index IS 'Enforces uniqueness on employee ID'; COMMENT ON LANGUAGE plpython IS 'Python support for stored procedures'; COMMENT ON LARGE OBJECT 346344 IS 'Planning document'; COMMENT ON OPERATOR ^ (text, text) IS 'Performs intersection of two texts'; COMMENT ON OPERATOR - (NONE, text) IS 'This is a prefix operator on text'; COMMENT ON OPERATOR CLASS int4ops USING btree IS '4 byte integer operators for btrees'; COMMENT ON OPERATOR FAMILY integer_ops USING btree IS 'all integer operators for btrees'; COMMENT ON ROLE my_role IS 'Administration group for finance tables'; COMMENT ON RULE my_rule ON my_table IS 'Logs updates of employee records'; COMMENT ON SCHEMA my_schema IS 'Departmental data'; COMMENT ON SEQUENCE my_sequence IS 'Used to generate primary keys'; COMMENT ON TABLE my_schema.my_table IS 'Employee Information'; COMMENT ON TABLESPACE my_tablespace IS 'Tablespace for indexes'; COMMENT ON TEXT SEARCH CONFIGURATION my_config IS 'Special word filtering'; COMMENT ON TEXT SEARCH DICTIONARY swedish IS 'Snowball stemmer for swedish language'; COMMENT ON TEXT SEARCH PARSER my_parser IS 'Splits text into words'; COMMENT ON TEXT SEARCH TEMPLATE snowball IS 'Snowball stemmer'; COMMENT ON TRIGGER my_trigger ON my_table IS 'Used for RI'; COMMENT ON TYPE complex IS 'Complex number data type'; COMMENT ON VIEW my_view IS 'View of departmental costs'; COMPATIBILITY
There is no COMMENT command in the SQL standard. SQL - Language Statements 2010-05-14 COMMENT(7)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy