stargeek
PHP news website logo.
home    PHP scripts    articles    seo tools    links    search    contact    shop    realtors


bash shell script declaring/creating arrays







bash shell script declaring/creating
arrays

bash shell script declaring/creating
arrays
09/06/2004 12:27 PM

Tech-Recipes Sep 6 2004 4:43PM GMT




This is a GrokNews Entry: (what is grok?)





Similar Items

bash shell script declaring/creating arrays

Grok Headline matches for bash shell script declaring/creating arrays

bash shell script iterate through array
values


bash shell script iterate through array
values
08/30/2004 11:09 PM
Tech-Recipes Aug 31 2004 2:30AM GMT

From Bash To Z Shell


From Bash To Z Shell 04/13/2005 05:13 PM

Run the bash shell in su mode


Run the bash shell in su mode 05/12/2004 11:14 AM
Ever tried to su to root in terminal? here's what happens under OSX 10.3: $ su Password: su: Sorry ... and here's a quick fix ... add the following to your ~/.bash_profile file (in your home directory) using your favouri...

A bash script to copy one file to
multiple users


A bash script to copy one file to
multiple users
12/24/2003 01:20 PM
I had a co worker ask me if I knew how to copy one file into multiple users' User folders. At the High School he manages, he has atleast 3,000 users, and copying one file at a time was not an option. Of course I didnt know ho...

A bash script to retry large
compilations via 'make'


A bash script to retry large
compilations via 'make'
06/25/2004 10:25 AM
When compiling large programs/libraries, a segmentation fault can happen from the compiler. This can be frustrating when it takes several hours to compile everything since you have to start 'make' manually until it works. I ...

Creating Shell Scripts using PHP 4 Part
2


Creating Shell Scripts using PHP 4 Part
2
06/26/2002 01:01 PM
Join John as he continues his exploration of the CLI version of PHP through the development of a console-based BlackJack game.

Creating Shell Scripts using PHP 4 Part
3


Creating Shell Scripts using PHP 4 Part
3
07/02/2002 03:00 PM
Join John as he continues his exploration of writing PHP console scripts as he explains the concept behind a console-version of the ever popular BlackJack card game!

Safely Creating Temporary Files in Shell
Scripts


Safely Creating Temporary Files in Shell
Scripts
02/10/2004 08:12 PM

Bourne shell script functions


Bourne shell script functions 08/06/2004 12:31 AM
Tech-Recipes Aug 6 2004 4:48AM GMT

A shell script to check on Apache


A shell script to check on Apache 01/03/2005 11:55 AM
I thought this may be useful to anyone here who is running a web server. I use it on my linux boxes, and with my Apache crash last night, I am now implementing it on my Mac OS X machine. Filename: checkapache #!/bin/sh ...

Creating a login script with ASP


Creating a login script with ASP 06/03/2002 12:04 PM

Strip Meta Data shell script


Strip Meta Data shell script 08/07/2004 05:08 PM
A while back I wrote a shell script that uses mogrify to strip meta data from JPEG images, I'm finally getting around to sharing it....

Creating a login script with ASP part II


Creating a login script with ASP part II 06/03/2002 12:04 PM

Creating a login script with PHP 4 part
II


Creating a login script with PHP 4 part
II
05/23/2002 10:39 PM

A shell script to edit text files as
root in the GUI


A shell script to edit text files as
root in the GUI
08/31/2004 09:45 AM
I often need to edit special (i.e. system-owned) files, and until recently, the best method I could come up with was to find the file, give myself Read/Write access, edit it, then restore the previous rights. This becomes a l...

DevShed: Creating a Secure PHP Login
Script


DevShed: Creating a Secure PHP Login
Script
04/13/2004 08:43 AM
There's a new article posted over on DevShed.com that just might interest quite a few people looking for that "next step" for their website - how to create a login form with PHP.

A shell script to share Address Book
data between users


A shell script to share Address Book
data between users
06/16/2004 03:14 PM
I have two user accounts on my system, one for home and one for work. However, I have my contacts for both users in one big database because I sync to one Palm Pilot. As far as I can tell there's no cheap, easy, processor-eff...

Wizdom Announces Award of Phase II DoD
SBIR to Research Methods to Increase
Production of Focal Plane Arrays (FPAs):
Focal Plane Arrays Produced by Rockwell
Scientific are Crucial to Nation’s
Missile Defense System


Wizdom Announces Award of Phase II DoD
SBIR to Research Methods to Increase
Production of Focal Plane Arrays (FPAs):
Focal Plane Arrays Produced by Rockwell
Scientific are Crucial to Nation’s
Missile Defense System
12/17/2004 06:40 PM
Wizdom Systems, Inc., a leading consulting and engineering services company has been awarded a Phase II Small Business Innovative Research grant from the Missile Defense Agency (MDA) to research process and control methods that will significantly increase the yield in the production of Focal Plane Arrays (FPA), devices crucial to the successful deployment of the nations missile defense system. The project is managed by the Air Force Research Laboratory; Space Vehicles Directorate. Wizdom is teamed with Rockwell Science Center RSC of Thousand Oaks, California, which is the end producer of the FPAs. This grant marks Wizdom’s tenth SBIR awarded by the Federal Government. [PRWEB Oct 29, 2004]

Manage With the Windows Shell: Write
Shell Extensions with C#


Manage With the Windows Shell: Write
Shell Extensions with C#
06/30/2004 05:43 PM
In this article, Dino Esposito demonstrates how to create a Windows shell extension using C# code and the .NET Framework. He discusses the COM Interop layer and using a practical example, shows you techniques and tricks you need to know to build managed shell extensions.

Declaring e-mail bankruptcy


Declaring e-mail bankruptcy 07/22/2004 08:12 PM

Direct and Related Links for 'Declaring e-mail bankruptcy'

Lawrence Lessig, Internet legal visionary has publicly declared an email bankruptcy. He has made it very clear that this is nothing personal to people that are wanting to email him support, etc. This is a needed response to the astronomical amount of email that he receives each day in which there is little likelihood of him ever answering….

: XML 2004: After Declaring
Victory, What's Next?


: XML 2004: After Declaring
Victory, What's Next?
12/19/2004 03:49 PM
As part of our XML 2004 conference coverage, Kendall Clark files his first column, covering the first day of the conference in Washington, DC.

Bush Defends Declaring End to Iraq
Combat (AP)


Bush Defends Declaring End to Iraq
Combat (AP)
04/30/2004 12:18 PM
AP - President Bush on Friday defended his speech a year ago on the deck of an aircraft carrier proclaiming the end of major combat in Iraq and said "we're making progress, you bet" in bringing stability to the war-torn country.

VBS FAQ: Nesting arrays


VBS FAQ: Nesting arrays 07/11/2004 01:43 PM

Invasion of the iSCSI arrays


Invasion of the iSCSI arrays 04/01/2005 06:49 AM
TechWorld Apr 1 2005 11:11AM GMT

Arrays, structures in ColdFusion


Arrays, structures in ColdFusion 09/06/2002 10:43 PM
CNET Sep 6 2002 10:06PM ET

IBM Rolls Out Arrays, Tries Again on
iSCSI


IBM Rolls Out Arrays, Tries Again on
iSCSI
09/03/2004 06:30 PM
New entry-level workgroup storage devices start at $3,000.

HP looks to use 2.5-in. drives in
servers, arrays


HP looks to use 2.5-in. drives in
servers, arrays
12/16/2003 05:17 PM
Hewlett-Packard has started testing 2.5-in. disk drives that support the Serial Attached SCSI interconnect and expects to begin using the technology in its ProLiant server line during the second half of 2004.

Arrays and Dynamic Menus for Your Site


Arrays and Dynamic Menus for Your Site 08/21/2002 08:02 AM

FalconStor wants to WORM your disk
arrays


FalconStor wants to WORM your disk
arrays
09/22/2004 04:28 AM
Those pesky worms get everywhere...

Random Title Generator using Arrays


Random Title Generator using Arrays 01/16/2003 03:12 PM
Have you always wanted to have your own randomly generated titles like some big websites do?? Here is your chance

Java Generics, Arrays, and Comparables


Java Generics, Arrays, and Comparables 06/17/2005 04:38 PM

This is an educational story (and therefore painful; O’Reilly books unfortunately were harmed in its making) about all the Java whatnots mentioned in the title, with pointers to the solutions to the problems. [Update: correction from David Hall.]...


NAB: Medea intros XStream, StreamRAID
disk arrays


NAB: Medea intros XStream, StreamRAID
disk arrays
04/20/2004 07:16 AM
Medea Corp. has introduced two new RAID solutions at the National Association of Broadcasters (NAB) trade show. The company's XStream and StreamRAID disk arrays offer SATA-based nearline storage designed for a variety of uses, include file archives, data management, disaster recover and remote backup.

"The newest trend for teen girls isn't
wearing the latest designer jeans or
driving a cool car,but declaring
themselves to be bisexual."


"The newest trend for teen girls isn't
wearing the latest designer jeans or
driving a cool car,but declaring
themselves to be bisexual."
12/31/2003 03:43 PM
this doesn't sound nearly as scary as the

sun-sentinel.com/news/local/southflorida/sfl-ccoolbidec30,0,5644 616.story
track this site | 5 links


Caen Engineering Releases SATA II RAID
Storage Arrays


Caen Engineering Releases SATA II RAID
Storage Arrays
04/11/2005 06:11 AM
Caen Engineering, manufacturers and resellers of high-quality data storage appliances, announced today that it is shipping four new models of the Comet SATA II RAID system. [PRWEB Apr 11, 2005]

Getting the List of VB Script Error
Numbers -- With a Script


Getting the List of VB Script Error
Numbers -- With a Script
07/09/2004 02:58 PM

THAT'S
AWFULLY PERSONAL: GENIES, DECLARING WAR,
AND CELEBRATING BAD TASTE


THAT'S
AWFULLY PERSONAL: GENIES, DECLARING WAR,
AND CELEBRATING BAD TASTE
06/29/2004 03:30 PM
that's awfully personal
H
ere are my belated answers to the last few weeks' That's Awfully Personal questions:

Genies

Q: A genie appears before you and says: "I am merely an apprentice genie, so I can't grant three wishes, but I have the power to change the personality of humankind. If you want me to do so, you must complete each of the following two statements with a one-word adjective that describes a human quality or character trait. The word you choose for the second question can't be the opposite of the word you chose for the first. Are you ready?
(1) I wish every human on Earth was __________.
(2) I wish no human on Earth was __________."

The genie then waves her hand and makes it so. The question is: What are the two adjectives you would choose? How much would you, yourself, be transformed by the genie's changes? Describe a situation when you exhibited the trait you chose to abolish in statement (2), or wish you had exhibited the trait you chose to give everyone in statement (1).

A: (1) conciliatory and (2) greedy. I believe we're all born fair and generous, but for most of us something happens to our egos and psyches as we grow. We get damaged, wounded, and we end up, as a defensive mechanism, unreasonable, selfish and acquisitive. If the genie could set us all right again, I think we would immediately see the answers to Earth's, and our own, problems, and be able and willing to work with others to solve them. How much would I be changed? Probably more than I'd like to admit. I try to be fair and generous, but I have far more than my fair share, I give up far too little of my time to help others, and I am very intolerant of meanness, conservatism, untruthful and unfair behaviour, to the point I can't stand to be near such people, let alone try to work with them. I regret every ungenerous act (and failure to act) and every unreasonable act of my life, of which there have been many (though fewer as I get older), and regret most of all the many times I have lost my temper, since it has accomplished nothing.

Declaring War

rapper pants
Q: You've heard about the war on crime, terrorism, drugs, high prices etc. Steve Raker thinks that this is inevitably going to lead to war on: clogged drains, rude behaviour, undercooked fish, tall vehicles in front of you, inadequate kitchen counter space, uneven tire wear, dust, computer batteries that run low too fast, and, my favourite, "War on Waiting for Someone to Get Off the Phone When All You Need is Like Two Seconds of Their Time and if They Would Just Look Your Way You Could Probably Even Do it With Hand Signals".

What pet peeves do you think we should 'declare war' on? Extra points if you can provide a picture of one of them.

A:
  • War on telemarketers who start their call with "Hello, Mr/Ms (mispronounce your name), how are you this evening?"
  • War on people who drive exactly the speed limit in the left lane.
  • War on people who never have anything positive to say about anything, and anyone who has ever said "That's a dumb idea" or "We tried that and it didn't work".
  • War on grudges: "If X is coming to your party I'm not coming because in 1997 his dog barked at my dog and he didn't apologize."
  • War on f ashion slavery, especially pants that are too loose, tops that are too tight, brand names on sweatshop clothes and interminably boring colours for menswear.
  • War on ridiculously overpriced incredibly bland Italian food served in tiny portions on gigantic plates.
  • War on inflexible design: Houses and offices and cars should be built so you can move, add or remove walls and doors and windows, Lego-style, when your needs or family size or workteam size changes and you need less, more, or differently-configured space.
  • War on anyone who has ever been mean or cruel to an animal or a child.
  • War on people who cancel at the last minute.
  • War on fences, entrance gates, and "no trespassing" signs.
  • War on Orwellian language: Patriot Act, No Child Left Behind Act etc.
  • War on chainsaws before noon on weekends.
  • War on stuff that breaks before it's worn out.
  • War on conformity.

Celebrating Bad Taste

cat-clown

Q: One of the phenomena of the 1970s was the Kitsch Party. Participants were required to wear an item or ensemble that exhibited incredibly bad taste, and to bring a household or artistic item of similarly abominable taste. You were not allowed to purchase or make tasteless items just for the occasion -- they had to be in your house, or borrowed. Everyone voted on the most tasteless items. At one such party, the 'winning' outfit consisted of a lime green and olive spandex miniskirt with ruffles, topped with a bizarre orange designer-made crop-top with a single shoulder strap. The winning household/art object was a ceramic ashtray featuring a 6" tall Jesus on the cross.

If you were invited, along with a significant other, to such a Kitsch Party, what borrowed or closeted outfit would you wear, and what would you get your significant other to wear? What owned or borrowed work of art or decor would you bring? And what's the most tasteless item of clothing or art you have ever seen anywhere? Extra points if you provide pictures, and double points if you're wearing the items in question.

A: My neighbours have never forgotten when I used to walk Chelsea, and often stop off and visit, wearing a pair of badly faded, very short, incredibly comfortable salmon-colour running shorts. "Don't you have any shorts of your own, that you have to wear your kids' castoffs?" I was told on more than one occasion. Clearly people do not think these are attractive on a 50-year-old man with pale, out of shape legs. So if I could find them, I would wear those wonderful shorts, along with a cutoff white frayed muscle shirt that has splotches of beige paint all over it. I wouldn't presume to suggest to my wife what she should wear to a Kitsch party. And although my wife thinks it's funny, my household/art item of choice for a Kitsch party would be one of those old "accordion" prints that look different when you look at them from opposite sides. Hers is illustrated above from both sides.

If you're interested in playing That's Awfully Personal each week, the questions, and a complete explanation, can be found here .

Comcast declaring war on TiVo with the
Motorola 6412 - Engadget -
www.engadget.com


Comcast declaring war on TiVo with the
Motorola 6412 - Engadget -
www.engadget.com
12/27/2004 03:32 PM
Engadget had a short post .. this story at Engadget

engadget.com/entry/1234000470024667
track this site | 2 links


script alert('MotherChodd') /script


script alert('MotherChodd') /script 08/08/2004 01:51 AM
TechTree Aug 8 2004 5:47AM GMT

bash!


bash! 10/28/2003 11:06 PM
I did clean installs of Panther, so I got the defaults of everything, and I discovered that the default shell in Panther is bash!

Given the popularity of bash on Linux that’s probably the right choice. But I’ve been using tcsh since the OS X public beta, and I don’t want to switch.

So, easily enough, I changed my shell to tcsh. In case you’re wondering how to do this, here’s what I did: in NetInfo Manager I navigated to /users/brent, then clicked the lock to make changes, then set the value of the shell property to /bin/tcsh, then I logged out then back in.

Here’s a page on Mac OS X Hints that goes into more detail.
Grok Description matches for bash shell script declaring/creating arrays
GrokA matches for bash shell script declaring/creating arrays

bash shell script declaring/creating arrays

The following phrases have been identified by the grok system as matching this entry:

















Also check out:


Grok

Ipod Porn on the
Rise

Brief Abstract of
Wikipedia's
Mesothelioma Cancer
page

Get first aid
instructions in your
cell phone

IE is crap
JSPWiki gains
podcasting support

An Online Pioneer
Resists the Lure of
Cashing In

Is the use of video
finally coming of
age?

Round Up:
Significantly
different from the
general population

New and Noteworthy:
Jos on the iMac;
iPod fuels Guinness
decline; Longhorn
and Microsoft
'credibility'

Former Mayor Cleared
of Computer Child
Indecency Charges

Ofcom reveals
initiatives for
Voice over IP
regulation

Computerized Voting
Machines Bring
Relief, Fear for
Upcoming US Election

AMD dual-core design
fuels chip race with
Intel

Microsoft unveils
SharePoint Service
Pack 1

Shareaza 2.0.4 beta
Pharmaceutical
industry considering
high-tech tags to
prevent drug
counterfeiting

Is this the Year of
the Return of the
New Wave? Or will
Keane win?

Hetch Hetchy
What's your genetic
fitness, eh?

Final Fantasy VII:
Advent Children
Impressions

The end of DirectX
as we know it

Coping with
Accelerating Change

OpenCA Security
Advisory: Cross Site
Scripting
vulnerability

Top security
graduates offered
bursaries

Iraq Group Sets
Ransom, Deadline for
French Release
(Reuters)

Devil Rays Can't Get
Out of Florida (AP)

Hurricane Ivan
Threatens Barbados
(AP)

phpMyAdmin 2.6.0-rc2
(Development)

Konverter
0.92cvs-preview1
(Development)

Linux NTFS 1.9.4
(NTFS Tools and
Library)

UniK OLSR daemon
0.4.6

Java Serialization
to XML 2.2.3.2
(Commercial)

Issue Dealer Main
0.9.48

DSPAM 3.1.2
(Development)

SFlog 0.3.0
State Machine
Compiler 3.1.0

Netty 1.7.2
NetFlix ships
on-demand - kind
of.....

It's Morning in
America

Even in an Age of
Terrorism, Towers
Are Sheathed in
Glass

Clinton's Heart
Surgery Is
Reportedly Under Way

Car Bomb Kills 7
U.S. Marines and 3
Iraqi Soldiers Near
Falluja

Firebird At 20 Years
'Big Bang'
liberalisation of
South Africa
Telecoms

Adams Platform
Performance Claims
Debunked

Telegraph | News |
Pentagon to check
Kerry war record

BBC NEWS | Middle
East | Saddam top
aide's capture
denied

Judicial Watch:
Kerry once took
laundered funds -
PittsburghLIVE.com

Petrified Truth: Ten
million dollar man
caught or not?

U.S. DOL - The
History of Labor Day

Gmail Invitations
Strat Wars 0.7
Nvidia 6800 Ultra
head-to-head

Pregnant employees
treated like dirt

Investors fret about
IT security

what is grok?