Sample input file:
Searching for 'stanza1' will return
as a single result.
I would like to access to the content of each stanza, so that I could assign
to, e.g., variable i, and
to variable j.
---------- Post updated at 02:41 PM ---------- Previous update was at 02:33 PM ----------
Quote:
Originally Posted by ygemici
try this
Thanks for the reply ygemici, but this will cycle throug each line of the result, that's not what I need.
i've reworked some code from an earlier post, and it isn't working as expected
i've simplified it to try and find the problem. i spent hours trying to figure out what is wrong, eventually thinking there was a bug in perl or a problem with my computer. but, i've tried it on 3 machines with the... (5 Replies)
Hi there all,
I am using a line to get some replys from my PS
I do
ps -ef |awk '{printf $9}'
But my result is 1 big line.
No spaces between the lines or someting
for example:... (2 Replies)
Folks,
I have a 3 problems. In a sh script, I call a server name from a list and rex to a distant machine to get the boot date.
for i in `cat list`
do
(echo "$i|"; /bin/rexsh $i -l bozo -t10 who -b | cut -d" " -f14-16) >>getBootTimes.out
sleep 1
done
The results are on 2 lines instead... (8 Replies)
Hi there
If I run a 'swap -l' on my solaris box, i get
swapfile dev swaplo blocks free
/dev/dsk/c1t0d0s1 54,65 8 67119560 65655144
/dev/dsk/c1t0d0s2 54,65 8 33119522 32655122
I wanted to run a for loop adding up the totals of each column 4 , excluding the... (2 Replies)
Hi Perl Gurus , need URGENT HELP PLEASE !!!!!
I have one recursive Perl function which takes path of any directory as argument and returns array containing all the sub folders inside it recursively.
Now the problem is that it works well if i use it with one time but the problem is that when... (0 Replies)
Hi,
I have the following situation:
Param1Values = AAAA,BBBB
Param1=$(echo $Param1Values| tr "," "\n")
for x in $Param1
do
db2 select X from Y where Z IN ('$x')
done
Obviously the above will perform the select 'x' amount of times.
Is there a way in which i can... (13 Replies)
find $SRC -type f -name *.emlx |
while read FILE
do
if :
then sed -n '/From/p' $FILE
fi
done > $DEST-output.txt
The loop above spits out a .txt file with several lines that look like this:
From: John Smith <jsmith@company.com>
How can I narrow that sed result to spit out the email... (5 Replies)
Hi,
The following awk command :
asmcmd lsdg | awk '{print $13;}' | grep -i ${SID}
return the following output . An Empty line + two lines contain "/" at the end of the line
INDEVDATA/
INDEVFRA/
I need to remove the "/" as well as the empty line.
Please advise
Thanks (3 Replies)
Hello everyone,
I am doing a check of the disk space using df -h, I want to combine the result in break line; but the result after while/done is empty:
# df -h
Filesystem Size Used Avail Use% Mounted on
rootfs 20G 14G 4.6G 75% /
/dev/root 20G 14G 4.6G 75% /... (15 Replies)
Discussion started by: Abu Rayane
15 Replies
LEARN ABOUT DEBIAN
lookat
lookat(1) General Commands Manual lookat(1)NAME
lookat - X11 VRML viewer
SYNOPSIS
lookat [-notitle | -title <title>] [[-url] <file.wrl>]
DESCRIPTION
lookat is a simple X11 viewer for VRML files that uses libopenvrml.
You can use the mouse to change the view. Clicking with the left mouse button and dragging the mouse around will rotate the view, while
clicking with the middle mouse button and dragging around will move the scene closer and farther.
The right mouse button will bring the viewpoint menu.
OPTIONS -notitle
Do not use the URL as the window title.
-title <title>
Use <title> as the window title.
-url <file.wrl>, <file.wrl>
Specify a VRML file or URL to open.
KEYS
Left Right
Move the view left or right.
, . Rotate the view left or right.
Up Down
Move the view forward or backwards.
A Z Move the view up or down.
a z Rotate the view up or down.
PageUp PageDn
Change to the next or previous viewpoint.
r Home Reset the view.
b Toggle alpha blending on or off.
c Toggle culling on or off.
d Toggle bspheres on or off.
l Toggle lighting on or off.
t Toggle texture mapping on or off.
w Toggle wireframe rendering (polygons) on or off.
EXAMPLES
On Debian systems, you can find VRML sample files in the /usr/share/doc/libopenvrml9/examples/ directory.
AUTHOR
This manual page was written by Sam Hocevar <sam@zoy.org> for the Debian GNU/Linux system (but may be used by others).
Debian Project August 2003 lookat(1)