How to assign awk output to a variable?

I just want the number of blocks, and I can get it with the following command in a bash shell on Solaris 10:

[root@pirlo-bge0 /var/tmp/test]# df | grep c0d0s3 | awk ‘{print }’
5762252
[root@pirlo-bge0 /var/tmp/test]#

When I try to assign the number to a variable in a shell or perl script, I get the whole line:

[root@pirlo-bge0 /var/tmp/test]# cat check_partition.pl
#! /usr/bin/perl

my $outVar = `df | grep c0d0s3 | awk -F ‘{print }’`;
print $outVar, "\n";
[root@pirlo-bge0 /var/tmp/test]# ./check_partition.pl
/opt/bmi (/dev/dsk/c0d0s3 ): 5762252 blocks 376600 files

[root@pirlo-bge0 /var/tmp/test]#

Is there a way to just get the number in the variable

in perl tk how do i align buttons on the same row?

here’s (part of) my code:

my $but1 = $mw -> Button(-text => "1", -command =>\&push_1)->pack(-side => ‘left’);
my $but2 = $mw -> Button(-text => "2", -command =>\&push_2)->pack();
my $but3 = $mw -> Button(-text => "3", -command =>\&push_3)->pack(-side => ‘right’);

how do i align all the buttons on the top row together so they are at the top and on the same line.
(so reading left-right it has the 1button, the 2button, then the 3button
in perl tk

Tool for recording execution behaviour in detail for a program (script, compiled code etc.) or its children?

Hi,
I am looking for a tool (command line linux / solaris) which can return a list of api calls at the kernel level (or C/C++ equivalent) for a given program and all its child processes. It should work with scripts (shell, perl, etc…), binaries, code being compiled etc. The basic idea is to profile the program runtime execution in a fine grained manner and figure out the values its reading/writing, files its reading and writing, libraries its accessing etc. to have an exhaustive description of its run.
Thanks,
Jason

Korn Shell Puzzle?

Korn Shell

The 26 alphabetic keys on a standard keyboard have been randomly swapped.

A user comes by and tries to type his name on the keyboard, pressing the key labeled with the letter he intends to type. Since the keys have been swapped, a different set of letters appears on the screen when he does this.

He looks at the new letters that have appeared on the screen and types those in, producing a new set of letters. He decides that it would be fun to continue doing this, and proceeds to keep typing in each new set of letters as they appear.

As it happens, after doing this a certain number of times, his real name will actually appear on the screen correctly. For example, given a particular swapping, the output might look like the following:

Jodt Dabn
Kafh Flcn
Dlmw Mgzn
Fgjq Jixn
Mike Korn

Given a particular name (e.g. "Mike Korn"), what is the maximum number of times the user might have to try typing in his name (or whatever has appeared on the screen) until his real name appears, if the manner in which the keys have been mixed up is unknown?

Write a program to compute this given a name as input. Your program should take a name (first name, last name; it should certainly not have any problem taking three-word names as well) as a command-line argument and output the answer:

$ ./korn Mike Korn
[the answer]

You may use any of the following programming languages:

* C++
* Java
* JavaScript
* OCaml/SML
* Perl
* PHP
* Python

For extra credit, you may submit additional solutions in the other languages as well as solutions in languages not listed here.

Need an MSDOS Batch Command for processing a text file?

I wish the following lines in a text file:
VALUES (205, ‘a’, ‘a’)
VALUES (205, ‘a’, ‘a’)
VALUES (205, ‘a’, ‘a’)
Become

VALUES (206, ‘b’, ‘b’)
VALUES (207, ‘c’, ‘c’)
VALUES (208, ‘d’, ‘d’)
kindly suggest batch commands using MSDOS only no perl java sed etc.

legitimate work from home jobs | Event Planning Bay Area | rent video games | Homeloans | Plumbing Courses in Manchester | increase fertility | Green Drink | Photo Keyring | Vitamin D Deficiency Symptoms | skip bags | Order Fulfillment Software | virtual receptionist | Educators Credit | bodybuilding workouts | window cleaning

ballard catalog designs

step by step bar designs

cyclic dependence in software design

renee bau hair designs

digital landscape design

storage hopper design specification

lighthouse tattoo designs

3 speed quiet design air circulators

janet jackson design of a decade

levivier designed by phpbb

resume fpga hardware design and texas

types of design and research

gaming encounter tracker savant design

intelligent design objectively

laudato designed by phpbb

hot plate design napkins paisley pink

lancaster california website design

chicago furniture design mart

snowbound designs

defination of design inputs

web design arizona cheap web hosting

melbar design and build

safety pin tattoo design

winston salem web design

illumination design gravesend

building house designs

rocket engine design calculations

chrisian website design

poltrone design classico

free origami designs online

baileys harbor custom designed homes

web design alberta

facilitate the design

design of mouse pad

green design remodel seattle

harmony design lynn

terrarium designs

big bad design worries

company intranet design

website design awards lawyer

old amazing design software

design glass fencing

free design covers

storage bench design

concrete foundation design

davids design studio

above mantel design

paisley butterflies designs

kids hair design

elwin designs

bioera design scroll

pneumatic convey design guide

ground grid design fault level toronto

redwood patio covers design

web design exam

memory stick pro design

work space design

design wind speed broken arrow oklahoma

ibm design as a typewritter face

web page design diy

delaware log home design

floral design trends

ta bella event design los angeles

accent bead design

john post design

kirkland design

design a commercial playset

1920 leffel turbine design

viljandimaad designed by phpbb

motion graphic design boston

porch column design

great architectural design austin tx

james hawkes designs

vintage wash pan with apple design

innova designs sofas

ad hoc house design

michele cotton designs

david kleinberg design

abstract metal design

cheap website design company india

design model railway

designs with two grout colors

prefab shed design

steps for a course design process

how to design a gamma stirling

world war ii 1942 submarine design

guestbook how design login page

flat design software freeware

crochet cat design blanket

companies who design logos

excede designed by phpbb

animal design sets

full wave bridge rectifier design guide

database design and development frost

breaking into interaction design for devices

web page design michigan

l floral design

mora design jewlery

design address sign

about business interior design

rocker arm design manual

brother free downloads embroidery custom designs

design houston tx web

heart design mp3

nc univesity fashion design program

electronics audio circuit designs

free homepage designs

templates of interior design for businesses

link chain designs

sherry lane designs jewelry

coffee restaurant website design template

utah modest by design prom dresses

design expo arundel mills maryland

roadway design manual

war game design computer

laundry room storage design

mexica designs

who designed the first decimal calendar

divine design episodes

electrical grounding grid bedrock design

distinctive cabinet design mn

invention and creation design stem
Poker Software
lonnie paul's design

remax design centre home

design election t shirts

cul de sac design

arts and crafts design christmas

conflict system design

medicamina designed by phpbb

automatic transmission design hipster

foster landscape design consulting

wee folk christmas designs

poonam designed by phpbb

design direct store

design a rose

fabric design websites

design week album cover

design birth stone ring

badges designed by phpbb

kitty litter boxes design

nauta design

home buisness interier design

bass cabinet design

anime design programs

interactive design firm

website design proposals

interior design chicago recording company

bouscule designed by phpbb

ruth clark instructional design

regal design construction west roxbury

discovery fashion design

parthenon design and architecture

learning styles and web design

iron design atlanta

master design

bhushan designed by phpbb

usa web design

complier design c programs

design 1989 batmobile

willowberry designs

lightweight truck seat design

basic roof design

digital designs

professional associations of fashion design

blueprint green house design

free classes in landscaping design

philippe briand designs

when was the metric system designed

ralf designed by phpbb

timeless design florest big spring texas

mothers bracelet designs

lynn hardesty designs

tile floor design entry

savanna schools of arts and design

design coloum

laotian designs

band designed by phpbb

deanne reynolds septic design

sprinkler system design around pool

analogue design psychology

larry tuttle fin design

costume design graduate program

shall provide engineering design

backyard design pictures

aurora interior design services

landscape design business ideas

set design software

modern design opal errings au

handicapped shower designs

handicapped parking spaces design nys

computer adied design tsa

table runner sewing designs

solar powered home design plans

norma magee garden design

rfp custom designed exhibit booth

front garden decorative stone design picture

fabric paint designs on tote bags

omi miller lighting design

kathy houck designs in glass

jss design

space climb design software

free powerpoint design slides

sundance designs

lemkuil archtitectural design

sharepoint designer design form template

design own m m's

sarah barnard design

office design receptionist safety

allen designs dog clocks