7 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Guys,
is there any way to sort a files from excel in shell?
$cat file1
asa003 hekk
asa341 no more
asa012 try a d g
asa001 a
asa111 this is just a sample for long string
Desire output:
asa001 a
asa003 hekk
asa012 try a d g
asa111 this is just a sample for long string
asa341... (5 Replies)
Discussion started by: kenshinhimura
5 Replies
2. Programming
I would like to seek help on my LED REST API. I have finished constructed my basic REST API for my Raspberry PI. What I'm trying to do now is allow my LED to light up whenever I key localhost:3000/7/1 and key localhost:3000/7/0 to switch off. But my problem now is my REST API can't works and hope... (0 Replies)
Discussion started by: aoiregion
0 Replies
3. Shell Programming and Scripting
I am trying to parse through set of data from large txt file and only intersted in output below . i am using below awk command to get the output but it only shows first line , i need to see the rest of the output under hardware inventory. see below
]$ awk '{ if ( $0 ~ "^Hardware inventory" )... (10 Replies)
Discussion started by: Jared
10 Replies
4. Shell Programming and Scripting
Hi,
I would like to cut last 13 characters of a file name and take the rename the file name as follows:
Input:
A.DAT20110517033732
Output:
A.DAT
I have tried the following command and cut last 13 characters.
echo A.DAT20110517033732 | awk '{print substr($0, length($0)-13)}'
... (3 Replies)
Discussion started by: pyaranoid
3 Replies
5. Shell Programming and Scripting
Hi Guys,
I have folder where the logs are generated (which is quite a few). I want to keep the recent n logs and delete the rest of them..
I am able to sort them by using ls -t.. but how to take it forward..
Can you people help me..
Thanks for the help in advance,
Regards,... (3 Replies)
Discussion started by: mac4rfree
3 Replies
6. Solaris
Hi
When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare?
format shows:-
-bash-3.2# format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63>
... (12 Replies)
Discussion started by: hellotommy
12 Replies
7. UNIX for Advanced & Expert Users
Hi, can anyone please answer my question in deleting the rest of the line. I have an example below of a file contaning:
Serial3/1.5 43.70.195.13 YES NVRAM down down
Serial3/3 225.94.155.69 YES NVRAM up down
Serial3/6 ... (3 Replies)
Discussion started by: Aejaz
3 Replies
Finance::Quote::Tiaacref(3pm) User Contributed Perl Documentation Finance::Quote::Tiaacref(3pm)
NAME
Finance::Quote::Tiaacref - Obtain quote from TIAA-CREF.
SYNOPSIS
use Finance::Quote;
$q = Finance::Quote->new;
%stockinfo = $q->fetch("tiaacref","TIAAreal");
DESCRIPTION
This module obtains information about TIAA-CREF managed funds.
The following symbols can be used:
Stock: CREFstok
Money Market: CREFmony
Equity Index: CREFequi
Inf-Linked Bond: CREFinfb
Bond Market: CREFbond
Social Choice: CREFsoci
Global Equities: CREFglob
Growth: CREFgrow
TIAA Real Estate: TIAAreal
PA Stock Index: TIAAsndx
PA Select Stock: TLSIX
PA Select Growth Equity: TLGEX
PA Select Growth Income: TLGIX
PA Select Int'l Equity: TLIEX
PA Select Social Choice: TLSCX
PA Select Large Cap Value: TLLCX
PA Select Small Cap Equity: TLCEX
PA Select Real Estate: TLREX
TIAA-CREF Money Market: TIAXX
TIAA-CREF Bond Plus: TIPBX
TIAA-CREF High-Yield Bond: TCHYX
TIAA-CREF Inflation-Linked Bond: TCILX
TIAA-CREF Short-Term Bond: TCSTX
TIAA-CREF Tax-Exempt Bond: TCTEX
TIAA-CREF Real Estate Securities: TCREX
TIAA-CREF Equity Index: TCEIX
TIAA-CREF Growth Equity: TIGEX
TIAA-CREF Growth & Income: TIGIX
TIAA-CREF International Equity: TIINX
TIAA-CREF Large-Cap Value: TCLCX
TIAA-CREF Mid-Cap Growth: TCMGX
TIAA-CREF Mid-Cap Value: TCMVX
TIAA-CREF Small-Cap Equity: TCSEX
TIAA-CREF Social Choice Equity: TCSCX
TIAA-CREF Managed Allocation: TIMAX
This module is loaded by default on a Finance::Quote object. It's also possible to load it explicitly by passing "Tiaacref" in to the
argument argument list of Finance::Quote->new().
Information returned by this module is governed by TIAA-CREF's terms and conditions.
LABELS RETURNED
The following labels may be returned by Finance::Quote::Tiaacref: symbol, exchange, name, date, nav, price.
SEE ALSO
TIAA-CREF, http://www.tiaa-cref.org/
perl v5.14.2 2012-05-06 Finance::Quote::Tiaacref(3pm)