Tag Archives: EVERY

Danny Amendola, Patriots WR, Pledges Donations To ‘Boston Marathon Relief Fund’ (TWEET)

By The Huffington Post News Editors

Even fans of NFL teams other than the New England Patriots now have a reason to root for Tom Brady to throw to Danny Amendola. The former St. Louis Rams wide receiver who signed with the Patriots during the offseason has pledged to make donations to aid in the relief efforts after the bombing of the Boston Marathon for each pass he catches (or drops) during the upcoming NFL season. The 27-year-old shared his pledge on Twitter several hours after two explosions near the finish line left at least three people dead and more than 100 injured.

Read More…
More on Boston Marathon Bombing

From: http://www.huffingtonpost.com/2013/04/16/danny-amendola-donation-boston-marathon_n_3089585.html

One file in to one directory using a for loop

By os2mac

So I have several files:

Code:

1.txt 2.txt 3.txt 4.txt


and several directories:

Code:

one two three four


I want to put one file in one directory, thusly:

Code:

1.txt to /one
2.txt to /two
3.txt to /three
4.txt to /four


but I want to use a for loop to do something like this:

Code:

!#/usr/bin/bash
file=(1.txt 2.txt 3.txt 4.txt)
dir=(one two three four)

for i in ${file[@]};do
cp $i ${dir[@]}
done


This will obviously attempt to put EVERY file in EVERY directory. How would I limit it as stated above?

Thanks,

…read more

Source: FULL ARTICLE at The UNIX and Linux Forums

I'm Back! Help Please!

By gkelly1117

I have a task, I usually do manually, but with growing responsibilities I tend to forget to do this weekly, I want to write a script that automates this, but I cant seem to work it out in my head, I have the shell of it out, but need help, and you guys have helped me with EVERY problem I have posted, and have found help in others posts as well. Please see below shell code I have started.

Code:

#!/bin/ksh
#Author:Emmanuel Iroanya Jr
#Date:April 2nd, 2013
#Purpose: The purpose of this is to check data and rollout directory and keep file space optimal.

if [ "$1x" = "x" ]
then
echo "You must supply an environment parameter to this script"
echo "example: $0 tb82"
exit
fi

. /opt/origenate/$1/config/usrconfig.sh #Sources Environments Admin Config Variables

cd $ORDATA #Environments Data Storage Directory
du -sk * | sort -n -r | head -n 10 |awk '{print $2}' #Finds folder in Data Directory with most stuff in it.

cd $ORDATA/??? #I want to cd into Directory found with du -sk command above, what kind of loop do i Need? a for loop makes sense cant work out logic though?
cd backup #backup directory we save backup of files, big space issue offender

find *.zip -type f -a -mtime +3 -exec rm {} ;
find *.pdf -type f -a -mtime +3 -exec rm {} ;
find *.CSV -type f -a -mtime +3 -exec rm {} ;
find *.txt -type f -a -mtime +3 -exec rm {} ;

<br ...read more
Source: FULL ARTICLE at The UNIX and Linux Forums

Why PriceSmart Is Poised to Pop

By Brian Pacampara, Pacampara, The Motley Fool

Filed under:

Based on the aggregated intelligence of 180,000-plus investors participating in Motley Fool CAPS, the Fool’s free investing community, PriceSmart , which operates shopping warehouse clubs in Latin America and the Caribbean, has earned a coveted five-star ranking.

With that in mind, let’s take a closer look at PriceSmart and see what CAPS investors are saying about the stock right now.

PriceSmart facts

   

Headquarters (founded)

San Diego, Calif. (1994)

Market Cap

$2.2 billion

Industry

Hypermarkets and supercenters

Trailing-12-Month Revenue

$2.1 billion

Management

CEO Jose Laparte (since 2010)

CFO John Heffner (since 2004)

Return on Equity (average, past 3 years)

17%

Cash/Debt

$84.4 million/$82.4 million

Dividend Yield

0.8%

Competitors

Carrefour

IGA

Wal-Mart Stores

Sources: S&P Capital IQ and Motley Fool CAPS.

On CAPS, 96% of the 511 members who have rated PriceSmart believe the stock will outperform the S&P 500 going forward.

Earlier this month, one of those Fools, CostaRicanGringo, offered some valuable insight into the PriceSmart opportunity:

I live in Costa Rica and understand what PriceSmart is to the [L]atin market. EVERY day, literally EVERY DAY, there is a line out the door to open, the parking lots stay full ALL DAY LONG until closing. Not to mention that personally it is one of the only places I can buy things and not feel like I am paying through my nose in [Value Added Tax], which is common in Latin America. The business model is sound, the leadership is who made the business model to begin with (Price, et al), and there are plenty of green field growth opportunities on this one. Just compare their fundamentals to industry averages … it’s all there.

If you want market-thumping returns, you need to put together the best portfolio you can. Of course, despite a perfect five-star rating, PriceSmart may not be your top choice.

We’ve found another stock we are incredibly excited about — excited enough to dub it “The Motley Fool’s Top Stock for 2013.” We have compiled a special free report for investors to uncover this stock today. The report is 100% free, but it won’t be here forever, so click here to access it now.

Want to see how well (or not so well) the stocks in this series are performing? Follow the TrackPoisedTo CAPS account.

The article Why PriceSmart Is Poised to Pop originally appeared on Fool.com.

Fool contributor Brian Pacampara has no position in any stocks mentioned. The Motley Fool recommends PriceSmart. Try any of our Foolish newsletter services free for 30 days. We Fools may not all hold the same opinions, but we all believe that considering a diverse range of insights makes us better investors. The Motley Fool has a disclosure policy.

Copyright © 1995 – 2013 The Motley Fool, LLC. …read more
Source: FULL ARTICLE at DailyFinance