Tag Archives: DT

MetroPCS gives shareholders more time to consider T-Mobile bid

MetroPCS has pushed back a hotly anticipated shareholder meeting that will decide the fate of the carrier’s proposed merger with T-Mobile USA.

MetroPCS shareholders were due to vote for or against the deal on Friday, but on Thursday, the regional U.S. carrier gave them more time to consider the matter after Deutsche Telekom sweetened its bid earlier this week.

The merger, proposed last October, would give T-Mobile USA’s parent company 74 percent of a combined mobile operator that would have about 42 million subscribers and a stronger spectrum position than either MetroPCS or T-Mobile on their own. Shareholders of MetroPCS would get US$1.5 billion and 26 percent of the new company. Regulators have already approved the plan.

However, some investment advisory services had recommended MetroPCS shareholders reject the deal. On Wednesday, Deutsche Telekom sweetened its bid, calling the new plan its “best and final offer.” DT reduced the amount of debt that the merged company would carry by $3.8 billion, to $11.2 billion, and lowered the interest rate on that debt.

To read this article in full or to leave a comment, please click here

From: http://www.pcworld.com/article/2034152/metropcs-gives-shareholders-more-time-to-consider-tmobile-bid.html#tk.rss_all

T-Mobile Throws MetroPCS Shareholders a Bone

By Rich Duprey, The Motley Fool

Filed under:

With a vote on its acquisition of MetroPCS imminent, T-Mobile parent Deutsche Telekom  is trying to mollify angry shareholders by throwing them a bone. It’s offered to reduce the debt the new company will carry, reduce the interest rate on the debt, and triple the amount of time it must hold onto the new stock before it can sell it. 

Despite having passed all the necessary regulatory hurdles, the merger is in danger of falling apart as major shareholders and institutional services alike say the deal is not favorable to MetroPCS stockholders.

While there’s been a war of words going on between the major participants, T-Mobile’s CEO certainly won himself no fans after calling hedge fund operator John Paulsongreedy.” Particularly after Institutional Shareholder Services came out blasting the deal as well, backing the contention of Paulson and P. Schoenfeld Asset Management that because T-Mobile has so underwhelmed the markets, MetroPCS shareholders need to be better compensated for the risk of turning control over to Deutsche Telekom.

Under the original proposal, MetroPCS shareholders would be paid about $4.09 a share and receive a 26% stake in the new company.

With the merger unraveling, DT decided it needed to salve the wounds it created. It offered to reduce the debt burden of the combined company by $3.8 billion and said it would cut the interest rate it charged by half a percentage point. Additionally, it would increase from six months to 18 months the amount of time it would have to hang onto the new company’s stock, but the rest of the terms apparently will remain unchanged.

While the original deal was scheduled to be voted on by MetroPCS shareholders tomorrow, that has now been pushed back to April 24 to give more time to review the deal. And while not giving any indication of which way it would fall on the new offer, at least the asset management firm has said it appreciated the olive branch.

Yet Deutsche Telekom needs this deal to go through if it ever wants to get out of the U.S. market. It previously tried by selling T-Mobile to AT&T for $39 billion, but regulators quashed it over anti-competitive concerns. Now with the proposed combined company being publicly traded, DT will finally get its exit strategy, even if it takes a year and a half to leave instead of the six months it previously envisioned.

A fresh idea for 2013
The Motley Fool’s chief investment officer has selected his No. 1 stock for the next year. Find out which stock it is in the brand-new free report: “The Motley Fool’s Top Stock for 2013.” Just click here to access the report and find out the name of this under-the-radar company.

The article T-Mobile Throws MetroPCS Shareholders a Bone originally appeared on Fool.com.

Fool contributor Rich Duprey has no position in any stocks mentioned. The Motley Fool has no position in any

From: http://www.dailyfinance.com/2013/04/11/t-mobile-to-sweeten-the-pot-for-metropcs/

Csv format output file using scirpt

By Optimus81

Hi All,

I get the test result file daily after running the main test script. from the resultfile, need to fetch only server info and status and put them in tabular format in a file and as well in CSV format output file.

I tried using awk command but am not able to put them in tabluar format as well in csv foramt output file.

basically, single script should produce both output file.

Code:

awk '{ print $1 $5 }' testreport.txt


my input file look like this :
testreport.txt

Code:

Starting collect reports
CollectReport
Not receive test report from ServerAA
Not receive test report from ServerF
Not receive test report from ServerG
Not receive test report from ServerJ
Not receive test report from ServerK

Testing Date : 04/09/13 12:26:22
Checking Result - Software Checks
ServerA: Software checks is passed. (Latest version : DT 2.1 for DT/AT to support XGen: DT 2.1)
ServerB: Software checks is passed. (Latest version : Synx : CONFIG_Sol-2013-SI-C_upgrade_01 package upgrade for SSI)
ServerC: Software checks is passed. (Latest version : DT 2.1 for DT/AT to support XGen: DT 2.1)
ServerD: Software checks is passed. (Latest version : Synx : CONFIG_Sol-2012-SI-B_upgrade_02 package upgrade for SSI)
ServerE: Software checks is failed. (Latest version : EET : CONFIG_Sol-2011-SI-C_upgrade_01 package upgrade for EET)
ServerH: Software checks is passed. (Latest version : ASI : CONFIG_Sol-2012-SI-C_upgrade_01 package upgrade for ASI)


Code:

Tabular format output should look like :
|============================================|
| Report Status |
|============================================|
| Server Software Checks |
|============================================|
| ServerA passed |
| ServerB passed

Source: FULL ARTICLE at The UNIX and Linux Forums

MetroPCS Merger Opponent Raises More Questions

By Dan Radovsky, The Motley Fool

Filed under:

The proposed merger of MetroPCS and T-Mobile USA has passed all the regulatory hurdles: vetting by the Department of Justice, the Federal Communications Commission, and the Committee on Foreign Investment.

All it has to do now is make it past the stockholders, who get to vote the deal up or down at a special shareholders meeting to be held on April 12. Unlike the governmental scrutiny, however, getting the merger past MetroPCS’ investors may not go as smoothly.

One very persistent major shareholder, P. Schoenfeld Asset Management, or PSAM, which owns 2% of MetroPCS’ outstanding shares, has met every company call for a “yes” vote on the merger with its own call for a thumbs down.

PSAM‘s latest appeal, poses a number of questions for shareholders to think about and for the company to answer. Here are a few:

  • “How does PCS explain the approximately 23% decline in its share price since the announcement of the Proposed Transaction, a period when the S&P is up 7.2% and the comparable index is up 0.6%?”
  • “How does PCS explain that its Chairman and CEO Roger Linquist has sold 2 million shares (approximately 28% of his holdings) at an average price of approximately $10 per share since December 12, 2012, and board member Kevin Landry’s Firm, TA Associates, has sold approximately 3.8 million shares since the Proposed Transaction was announced?”
  • “Why is PCS deducting $1.5 billion of future spectrum purchases from its value relative to T-Mobile?”
  • “Why is PCS contributing its intellectual property to the combined PCS/T-Mobile while DT is insisting on a royalty for the use of the T-Mobile name through a trademark license?”

PSAM has a powerful ally in its fight against the merger with T-Mobile and its parent company Deutsche Telekom. MetroPCS’ largest single stockholder, Paulson & Co., which owns 9.9% of the company, has filed its intent with the Securities and Exchange Commission to vote against the deal as it is now structured.

Paulson says it agrees with PSAM that “the new company will be saddled with an onerously large amount of debt,” and that “the interest rate on Deutsche Telekom‘s debt financing is far above market, based on the new company’s anticipated credit rating. Specifically, MetroPCS/T-Mobile will pay an egregiously high 7% interest rate on the $15 billion of intercompany debt.”

One more question: Where’s Roger?
Earlier this week, a joint announcement from Deutsche Telekom, T-Mobile USA, and MetroPCS listed the board of directors for the proposed new company. What made it interesting was not who was on it but who wasn’t.

Roger Linquist was nowhere to be found on the new board. Will he be out entirely? Two inquiries regarding this to MetroPCS have not been answered.

The Motley Fool’s chief investment officer has selected his No. 1 stock for the next year. Find out which stock it is in the brand-new free report: “The Motley Fool’s Top Stock for 2013.” Just click here to access the …read more
Source: FULL ARTICLE at DailyFinance

Solaris 9 Zone : Date command in crontab shows delayed(One Hour) output

By judi

SOLARIS 9 Zone :

date command in crontab shows delayed(One Hour) output

Hi folks,
the date command shows the correct date and time, How ever, if the date command executed through crontab in any form of scrip the output shows as one hour delayed, similar to date -u..

Can some one help in this..
++++++++++++++++++++++++++++++++++++++++++

Date command perfectly shows

judi:root:/tmp# date
Fri Feb 15 15:08:03 MET 2013
judi:root:/tmp#

The script used to get the output to test.out

judi:root:/tmp# more test.sh
#!/usr/bin/ksh
DT=`date ‘+%y%m%d-%H:%M’`
LOG=/tmp/test.out
echo $DT >> $LOG
judi:root:/tmp#

the cron entry used..

* * * * * /tmp/test.sh

output of the script execution (delayed for one hour)
judi:root:/tmp# more test.out
130215-14:03
130215-14:04
130215-14:05
130215-14:06
130215-14:07
130215-14:08
judi:root:/tmp#

judi:root:/tmp# date
Fri Feb 15 15:08:10 MET 2013
judi:root:/tmp#

…read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Fetch entries with specific pattern

By kareena

Hi all,

I have following sample input file which is a part of big file:

Code:

ID AINX_HUMAN Reviewed; 499 AA.
AC Q16352; B1AQK0; Q9BRC5;
DT 30-MAY-2000, integrated into UniProtKB/Swiss-Prot.
DT 23-JAN-2002, sequence version 2.
DT 28-NOV-2012, entry version 123.
DE RecName: Full=Alpha-internexin;
DE Short=Alpha-Inx;
DE AltName: Full=66 kDa neurofilament protein;
DE Short=NF-66;
DE Short=Neurofilament-66;
DE AltName: Full=Neurofilament 5;
GN Name=INA; Synonyms=NEF5;
OS Homo sapiens (Human).
OC Eukaryota; Metazoa; Chordata; Craniata; Vertebrata; Euteleostomi;
OC Mammalia; Eutheria; Euarchontoglires; Primates; Haplorrhini;
OC Catarrhini; Hominidae; Homo.
OX NCBI_TaxID=9606;
RN [1]
RP NUCLEOTIDE SEQUENCE [MRNA], AND VARIANT SER-92.
RC TISSUE=Fetal brain;
RX MEDLINE=95287809; PubMed=7769995;
RA Chan S.-O., Chiu F.-C.;
RT "Cloning and developmental expression of human 66 kd neurofilament
RT protein.";
RL Brain Res. Mol. Brain Res. 29:177-184(1995).
RN [2]
RP NUCLEOTIDE SEQUENCE [LARGE SCALE GENOMIC DNA].
RX PubMed=15164054; DOI=10.1038/nature02462;
RA Deloukas P., Earthrowl M.E., Grafham D.V., Rubenfield M., French L.,
RA Steward C.A., Sims S.K., Jones M.C., Searle S., Scott C., Howe K.,
RA Hunt S.E., Andrews T.D., Gilbert J.G.R., Swarbreck D., Ashurst J.L.,
RA Taylor A., Battles J., Bird C.P., Ainscough R., Almeida J.P.,
RA Ashwell R.I.S., Ambrose K.D., Babbage A.K., Bagguley C.L., Bailey J.,
RA Banerjee R., Bates K., Beasley H., Bray-Allen S., Brown A.J.,
RA Brown J.Y., Burford D.C., Burrill W., Burton J., Cahill P., Camire D.,
RA Carter N.P., Chapman J.C., Clark S.Y., Clarke G., Clee C.M., Clegg S.,
RA Corby N., Coulson A., Dhami P., Dutta I., Dunn M., Faulkner L.,
RA Frankish A., Frankland J.A., Garner P., Garnett J., Gribble S.,
RA Griffiths C., Grocock R., Gustafson E., Hammond S., Harley J.L.,
RA Hart E., Heath P.D., Ho T.P., Hopkins B., Horne J., Howden P.J.,
RA Huckle E., Hynds C., Johnson C., Johnson D., Kana A., Kay M.,
RA Kimberley A.M., Kershaw J.K., Kokkinaki M., Laird G.K., Lawlor S.,
RA Lee H.M., Leongamornlert D.A., Laird G., Lloyd C., Lloyd D.M.,
RA Loveland J., Lovell J., McLaren S., McLay K.E., McMurray A.,
RA Mashreghi-Mohammadi M., Matthews L., Milne S., Nickerson T.,
RA Nguyen M., Overton-Larty E., Palmer S.A., Pearce A.V., Peck A.I.,
RA Pelan S., Phillimore B., Porter K., Rice C.M., Rogosin A., Ross M.T.,
RA Sarafidou T., Sehra H.K., Shownkeen R., Skuce C.D., Smith M.,
RA Standring L., Sycamore N., Tester J., Thorpe A., Torcasso W.,
RA Tracey A., Tromans A., Tsolas J., Wall M., Walsh J., Wang H.,
RA Weinstock K., West A.P., Willey D.L., Whitehead S.L., Wilming L.,
RA Wray P.W., Young L., Chen Y., Lovering R.C., Moschonas N.K.,
RA Siebert R., Fechtel K., Bentley D., Durbin R.M., Hubbard T.,
RA Doucette-Stamm L., Beck S., Smith D.R., Rogers J.;
RT "The DNA sequence and comparative analysis of human chromosome 10.";
RL Nature 429:375-381(2004).
RN [3]
RP NUCLEOTIDE SEQUENCE [LARGE SCALE GENOMIC DNA].
RA Mural R.J., Istrail S., Sutton G.G., Florea L., Halpern A.L.,
RA Mobarry C.M., Lippert R., Walenz B., Shatkay H., Dew I., Miller J.R.,
RA Flanigan M.J., Edwards N.J., Bolanos R., Fasulo D., Halldorsson B.V.,
RA Hannenhalli S., Turner R., Yooseph S., Lu F., Nusskern D.R.,
RA Shue B.C., Zheng X.H., Zhong F., Delcher A.L., Huson D.H.,
RA Kravitz S.A., Mouchard L., Reinert K., Remington K.A., Clark A.G.,
RA Waterman M.S., Eichler E.E., Adams M.D., Hunkapiller M.W., Myers E.W.,
RA Venter J.C.;
RL Submitted (SEP-2005) to the EMBL/GenBank/DDBJ databases.
RN [4]
RP NUCLEOTIDE SEQUENCE [LARGE SCALE MRNA].
RC TISSUE=Brain;
RX PubMed=15489334;
RG The MGC Project Team;
RT "The status, quality, and expansion of the NIH full-length cDNA
RT project: the Mammalian Gene Collection (MGC).";
RL Genome Res. 14:2121-2127(2004).
RN [5]
RP PROTEIN SEQUENCE OF 46-83; 105-111; 121-130; 139-145; 216-228;
RP 279-288; 323-330; 339-367; 378-397 AND 407-430, AND MASS SPECTROMETRY.
RC TISSUE=Brain, Cajal-Retzius cell, and Fetal brain cortex;
RA Lubec G., Afjehi-Sadat L., Chen W.-Q., Sun Y.;
RL Submitted (DEC-2008) to UniProtKB.
RN [6]
RP PHOSPHORYLATION [LARGE SCALE ANALYSIS] AT SER-496, AND MASS
RP SPECTROMETRY.
RC TISSUE=Embryonic kidney;
RX PubMed=17525332;
RA Matsuoka S., Ballif B.A., Smogorzewska A., McDonald E.R. III,
RA Hurov K.E., Luo J., Bakalarski C.E., Zhao Z., Solimini N.,
RA Lerenthal Y., Shiloh Y., Gygi S.P., Elledge S.J.;
RT "ATM and ATR substrate analysis reveals extensive protein networks
RT responsive to DNA damage.";
RL Science 316:1160-1166(2007).
RN [7]
RP ACETYLATION [LARGE SCALE ANALYSIS] AT LYS-290, AND MASS SPECTROMETRY.
RX PubMed=19608861; DOI=10.1126/science.1175371;
RA Choudhary C., Kumar C., Gnad F., Nielsen M.L., Rehman M., Walther T.,
RA Olsen J.V., Mann M.;
RT "Lysine acetylation targets protein complexes and co-regulates major
RT cellular functions.";
RL Science 325:834-840(2009).
RN [8]
RP VARIANT [LARGE SCALE ANALYSIS] GLN-110.
RX PubMed=16959974; DOI=10.1126/science.1133427;
RA Sjoeblom T., Jones S., Wood L.D., Parsons D.W., Lin J., Barber T.D.,
RA Mandelker D., Leary R.J., Ptak J., Silliman N., Szabo S.,
RA Buckhaults P., Farrell C., Meeh P., Markowitz S.D., Willis J.,
RA Dawson D., Willson J.K.V., Gazdar A.F., Hartigan J., Wu L., Liu C.,
RA Parmigiani G., Park B.H., Bachman K.E., Papadopoulos N.,
RA Vogelstein B., Kinzler K.W., Velculescu V.E.;
RT "The consensus coding sequences of human breast and colorectal
RT cancers.";
RL Science 314:268-274(2006).
CC -!- FUNCTION: Class-IV neuronal intermediate filament that is able to
CC self-assemble. It is involved in the morphogenesis of neurons. It
CC may form an independent structural network without the involvement
CC of other neurofilaments or it may cooperate with NF-L to form the
CC filamentous backbone to which NF-M and NF-H attach to form the
CC cross-bridges.
CC -!- TISSUE SPECIFICITY: Found predominantly in adult CNS.
CC -!- DEVELOPMENTAL STAGE: Expressed in brain as early as the 16th week
CC of gestation, and increased rapidly and reached a steady state
CC level by the 18th week of gestation.
CC -!- PTM: O-glycosylated (By similarity).
CC -!- PTM: Phosphorylated upon DNA damage, probably by ATM or ATR.
CC -!- SIMILARITY: Belongs to the intermediate filament family.
CC -----------------------------------------------------------------------
CC Copyrighted by the UniProt Consortium, see
CC Distributed under the Creative Commons Attribution-NoDerivs License
CC -----------------------------------------------------------------------
DR EMBL; S78296; AAB34482.1; -; mRNA.
DR EMBL; AL591408; CAI16744.1; -; Genomic_DNA.
DR EMBL; CH471066; EAW49653.1; -; Genomic_DNA.
DR EMBL; BC006359; AAH06359.1; -; mRNA.
DR IPI; IPI00001453; -.
DR PIR; I52658; I52658.
DR RefSeq; NP_116116.1; NM_032727.3.
DR UniGene; Hs.500916; -.
DR ProteinModelPortal; Q16352; -.
DR SMR; Q16352; 90-241, 259-329, 333-402.
DR IntAct; Q16352; 3.
DR STRING; Q16352; -.
DR PhosphoSite; Q16352; -.
DR DMDM; 20141266; -.
DR PaxDb; Q16352; -.
DR PeptideAtlas; Q16352; -.
DR PRIDE; Q16352; -.
DR DNASU; 9118; -.
DR Ensembl; ENST00000369849; ENSP00000358865; ENSG00000148798.
DR GeneID; 9118; -.
DR KEGG; hsa:9118; -.
DR UCSC; uc001kws.3; human.
DR CTD; 9118; -.
DR GeneCards; GC10P105026; -.
DR HGNC; HGNC:6057; INA.
DR HPA; CAB002059; -.
DR HPA; HPA008057; -.
DR MIM; 605338; gene.
DR neXtProt; NX_Q16352; -.
DR PharmGKB; PA29867; -.
DR eggNOG; NOG149366; -.
DR HOGENOM; HOG000230977; -.
DR HOVERGEN; HBG013015; -.
DR InParanoid; Q16352; -.
DR KO; K07608; -.
DR OMA; ASSYRKV; -.
DR OrthoDB; EOG4R5031; -.
DR PhylomeDB; Q16352; -.
DR GenomeRNAi; 9118; -.
DR NextBio; 34171; -.
DR ArrayExpress; Q16352; -.
DR Bgee; Q16352; -.
DR CleanEx; HS_INA; -.
DR Genevestigator; Q16352; -.
DR GermOnline; ENSG00000148798; Homo sapiens.
DR GO; GO:0005883; C:neurofilament; TAS:ProtInc.
DR GO; GO:0005200; F:structural constituent of cytoskeleton; TAS:ProtInc.
DR GO; GO:0030154; P:cell differentiation; IEA:UniProtKB-KW.
DR GO; GO:0007399; P:nervous system development; IEA:UniProtKB-KW.
DR GO; GO:0060052; P:neurofilament cytoskeleton organization; IEA:Compara.
DR GO; GO:0042246; P:tissue regeneration; IEA:Compara.
DR InterPro; IPR016044; F.
DR InterPro; IPR001664; IF.
DR InterPro; IPR006821; Intermed_filament_DNA-bd.
DR InterPro; IPR018039; Intermediate_filament_CS.
DR PANTHER; PTHR23239; PTHR23239; 1.
DR Pfam; PF00038; Filament; 1.
DR Pfam; PF04732; Filament_head; 1.
DR PROSITE; PS00226; IF; 1.
PE 1: Evidence at protein level;
KW Acetylation; Coiled coil; Complete proteome; Developmental protein;
KW Differentiation; Direct protein sequencing; Glycoprotein;
KW Intermediate filament; Neurogenesis; Phosphoprotein; Polymorphism;
KW Reference proteome.
FT CHAIN 1 499 Alpha-internexin.
FT /FTId=PRO_0000063783.
FT REGION 1 87 Head.
FT REGION 88 408 Rod.
FT REGION 88 129 Coil 1A.
FT REGION 130 142 Linker 1.
FT REGION 143 238 Coil 1B.
FT REGION 239 262 Linker 2.
FT REGION 263 408 Coil 2.
FT REGION 409 499 Tail.
FT COMPBIAS 449 454 Poly-Glu.
FT MOD_RES 72 72 Phosphoserine (By similarity).
FT MOD_RES 290 290 N6-acetyllysine.
FT MOD_RES 335 335 Phosphoserine (By similarity).
FT MOD_RES 496 496 Phosphoserine.
FT VARIANT 92 92 T -> S (in dbSNP:rs1063455).
FT /FTId=VAR_049808.
FT VARIANT 110 110 E -> Q (in a breast cancer sample;
FT somatic mutation).
FT /FTId=VAR_036369.
FT VARIANT 149 149 D -> H (in dbSNP:rs1063456).
FT /FTId=VAR_033497.
FT CONFLICT 37 41 GFRSQ -> ASVE (in Ref. 1; AAB34482).
FT CONFLICT 67 67 R -> A (in Ref. 1; AAB34482).
FT CONFLICT 128 132 ALRQR -> RCDT (in Ref. 1; AAB34482).
FT CONFLICT 141 141 E -> Q (in Ref. 1; AAB34482).
FT CONFLICT 147 152 LRDLRA -> PRHLP (in Ref. 1; AAB34482).
FT CONFLICT 191 198 GAERALKA -> RRARLKR (in Ref. 1;
FT AAB34482).
FT CONFLICT 244 244 A -> R (in Ref. 1; AAB34482).
FT CONFLICT 263 263 S -> A (in Ref. 1; AAB34482).
FT CONFLICT 301 301 S -> T (in Ref. 1; AAB34482).
FT CONFLICT 310 311 EE -> DQ (in Ref. 1; AAB34482).
FT CONFLICT 318 318 Missing (in Ref. 1; AAB34482).
SQ SEQUENCE 499 AA; 55391 MW; 4C972764E9E68D3E CRC64;
MSFGSEHYLC SSSSYRKVFG DGSRLSARLS GAGGAGGFRS QSLSRSNVAS SAACSSASSL
GLGLAYRRPP ASDGLDLSQA AARTNEYKII RTNEKEQLQG LNDRFAVFIE KVHQLETQNR
ALEAELAALR QRHAEPSRVG ELFQRELRDL RAQLEEASSA RSQALLERDG LAEEVQRLRA
RCEEESRGRE GAERALKAQQ RDVDGATLAR LDLEKKVESL LDELAFVRQV HDEEVAELLA
TLQASSQAAA EVDVTVAKPD LTSALREIRA QYESLAAKNL QSAEEWYKSK FANLNEQAAR
STEAIRASRE EIHEYRRQLQ ARTIEIEGLR GANESLERQI LELEERHSAE VAGYQDSIGQ
LENDLRNTKS EMARHLREYQ DLLNVKMALD IEIAAYRKLL EGEETRFSTS GLSISGLNPL
PNPSYLLPPR ILSATTSKVS STGLSLKKEE EEEEASKVAS KKTSQIGESF EEILEETVIS
TKKTEKSNIE ETTISSQKI


the expected output is to fetch entries: AC entries and CC entries infront of which -!- is present with FUNCTION. It should print only the sentences in FUNCTION before the next -!- entries come.

Code:

AC Q16352; B1AQK0; Q9BRC5;
CC -!- FUNCTION: Class-IV neuronal intermediate filament that is able to self-assemble. It is involved in the morphogenesis of neurons. It may form an independent structural network without the involvement of other euro filaments or it may cooperate with NF-L to form the filamentous backbone to which NF-M and NF-H attach to form the cross-bridges.


Please let me know relevant shell scripting. I tried awk and sed it doesnt work.

Source: FULL ARTICLE at The UNIX and Linux Forums

I have no idea what is wrong with my simple script.

I am doing a simple “recycle bin” script. It is to check and see if the directory .TRASH exists within the home directory. If not then it makes the directory then appends a date and time to file and then finally moves the file in. However, when I run this script, it is not making the directory as it should.

What am I missing?

Code:
#!/bin/bash
if [ -d “~/.TRASH” ]
then
mkdir ~/.TRASH
fi

DT=$(date +’_%Y%m%d_%H%M’)
mv $PWD/”$1″ “~/.TRASH/${1}.${DT}”

Source: The UNIX and Linux Forums