10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm trying to pick up some Unix SysAdmin skills on my own outside of work through the use of the "Unix and Linux System Administrators Handbook." I've found the exercises to be very beneficial, until I came to this.... "What path did the email take? To Whom was it addressed, and to whom was it... (0 Replies)
Discussion started by: ksmarine1980
0 Replies
2. UNIX for Dummies Questions & Answers
I have a FASTA file with thousands of sequences that looks something like this:
I need to modfy the header in such way that everything after the dot is remove. Thus, I will end up with something like this:
Thanks (1 Reply)
Discussion started by: Xterra
1 Replies
3. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
58 390
A
GTATACATTATTGATGAAGTCCACATGCTTTCTATGGGTGCCTTCAATGCGCTTTTAAAA (7 Replies)
Discussion started by: Lucky Ali
7 Replies
4. Shell Programming and Scripting
Hi,
I have a folder that contains many (multiple) files
1.fasta
2.fasta
3.fasta
4.fasta
5.fasta
.
.
100's of files
Each such file have data in the following format
for example:
vi 1.fasta
>AB_1 200bp
MLKKPIIIGVTGGSGGGKTSVSRAILDSFPNARIAMIQHDSYYKDQSHMSFEERVKTNYDHPLAFDTDFM... (4 Replies)
Discussion started by: Lucky Ali
4 Replies
5. Programming
I have a simple program to create a poker deck, shuffle it and deal cards. Here it is:
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
struct Card {
char *face,
*suit;
};
void fillDeck (Card *deck, char *face, char *suit);
void shuffle (Card *deck);
void... (4 Replies)
Discussion started by: Luke Bonham
4 Replies
6. UNIX for Dummies Questions & Answers
Hi!
Trying to find string and then put the above Headers of corresponding fist line.
After executing a Property command a get this output:
SP/CH-CH Span Name Type TG Idle InUse OffHk OnHk Ring
-------- ------------------------------ ------ ---- ----- ----- -----
02/01-24 CARRIERSS7... (6 Replies)
Discussion started by: Joel_john
6 Replies
7. Shell Programming and Scripting
Hi ,
I have a typical situation. I have 4 files and with different headers (number of headers is varible ).
I need to make such a merged file which will have headers combined from all files (comman coluns should appear once only).
For example -
File 1
H1|H2|H3|H4
11|12|13|14
21|22|23|23... (1 Reply)
Discussion started by: marut_ashu
1 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to strip all lines between two headers in a file:
### BEGIN ###
Text to remove, contains all kinds of characters
...
Antispyware-Downloadserver.com (Germany)=http://www.antispyware-downloadserver.c
om/updates/
Antispyware-Downloadserver.com #2... (3 Replies)
Discussion started by: Trones
3 Replies
9. Programming
when we are spooling query o/p to certain txt file,in that file how we can get headers in the query.(through unix shell scripting).
for exmple
q1="slect * from XXXXXX;";
sqlplus XXX/XXXX@XXXXX
spool XXXX.txt
$q1
spool off
in the text file i want the headers of the query.....
... (0 Replies)
Discussion started by: bhagya.puccha
0 Replies
10. Shell Programming and Scripting
I have a text file in unix with a layout like this
Column 1 - 1-12
Column 2 - 13-39
Column 3 - 40-58
Column 4 - 59-85
Column 5 - 86-120
Columbn 6 - 121-131
The file also has a header on the first 6 lines of each page. Each page is 51 lines long. So I want to remove the header from each... (30 Replies)
Discussion started by: DerangedNick
30 Replies
Atompub(3pm) User Contributed Perl Documentation Atompub(3pm)
NAME
Atompub - Atom Publishing Protocol implementation
DESCRIPTION
The Atom Publishing Protocol (Atompub) is a protocol for publishing and editing Web resources described at
<http://www.ietf.org/rfc/rfc5023.txt>.
Atompub implements client Atompub::Client and server Atompub::Server for the protocol. XML formats used in the protocol are implemented in
XML::Atom and XML::Atom::Service. Catalyst extension Catalyst::Controller::Atompub is also available.
This module was tested in July2007InteropTokyo and November2007Interop, and interoperated with other implementations. See
<http://intertwingly.net/wiki/pie/July2007InteropTokyo> and <http://www.intertwingly.net/wiki/pie/November2007Interop> in detail.
METHODS of HTTP::Headers, HTTP::Request, and HTTP::Response
Some accessors for the HTTP header fields, which are used in the Atom Publishing Protocol, are imported into HTTP::Headers, HTTP::Request,
and HTTP::Response. See <http://www.ietf.org/rfc/rfc2616.txt> in detail.
$headers->accept([ $value ])
An accessor for the Accept header field.
This method is imported into HTTP::Headers and HTTP::Request.
$headers->if_match([ $value ])
An accessor for the If-Match header field.
This method is imported into HTTP::Headers and HTTP::Request.
$headers->if_none_match([ $value ])
An accessor for the If-None-Match header field.
This method is imported into HTTP::Headers and HTTP::Request.
$headers->if_modified_since([ $value ])
An accessor for the If-Modified-Since header field. $value MUST be UTC epoch value, like 1167609600.
This method is imported into HTTP::Headers and HTTP::Request.
$headers->if_unmodified_since([ $value ])
An accessor for the If-Unmodified-Since header field. $value MUST be UTC epoch value, like 1167609600.
This method is imported into HTTP::Headers and HTTP::Request.
$headers->content_location([ $value ])
An accessor for the Content-Location header field.
This method is imported into HTTP::Headers and HTTP::Response.
$headers->etag([ $value ])
An accessor for the ETag header field.
This method is imported into HTTP::Headers and HTTP::Response.
$headers->location([ $value ])
An accessor for the Location header field.
This method is imported into HTTP::Headers and HTTP::Response.
$headers->last_modified([ $value ])
An accessor for the Last-Modified header field.
This method is imported into HTTP::Headers, HTTP::Request, and HTTP::Response.
$headers->slug([ $value ])
An accessor for the Slug header field.
This method is imported into HTTP::Headers, HTTP::Request, and HTTP::Response.
AUTHOR
Takeru INOUE, <takeru.inoue _ gmail.com>
LICENCE AND COPYRIGHT
Copyright (c) 2007, Takeru INOUE "<takeru.inoue _ gmail.com>".
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
DISCLAIMER OF WARRANTY
BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
perl v5.14.2 2012-04-06 Atompub(3pm)