07-04-2007
The looping part of the code is printing the names of the files which are present in the parent directory of myfile.txt un-necessarily
Quote:
Originally Posted by
lorcan
Please provide us more info about your request.
Lorcan
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
my script gives 10 outputs continuously..In each output i have to remove the first line in the output.How to do that.
for eg : below is my output
0.00
1.00
5.00
0.00
7.00
i have to remove the first line of this output ie;0.00 (3 Replies)
Discussion started by: Krrishv
3 Replies
2. Shell Programming and Scripting
Hi all ,
I am new to HP-UX flavour of unix.
i am issuing simple "vi" comand on the command prompt it is showing me some garbage character in command prompt itself ..unreadable format.
I tried opening an existing file using the vi editor --and same thing
... (3 Replies)
Discussion started by: jambesh
3 Replies
3. Shell Programming and Scripting
Hello Friends,
In a script i m using different temporary file and i remove them in the end.
During script execution i have some garbage output which is not required.
For example: Garbage Output
++ rm temp_out temp_a temp_b temp_c
++ rm Filter1 Filter2
Script : Even i am redirecting rm... (7 Replies)
Discussion started by: Danish Shakil
7 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I am running a command "df -k" to check the HDD utilization i am getting some garbage values in output of the command.
Output coming
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c1t0d0s7 113197651... (0 Replies)
Discussion started by: varunksharma87
0 Replies
5. Shell Programming and Scripting
Hi Everyone,
The problem is that I am getting messages other than the script in the current log file. Ideally the script should contain only the messages that are redirected to the log file. How to remove these unwanted data from the log file. Please help if you have any idea how to remove the... (0 Replies)
Discussion started by: vsachan
0 Replies
6. Shell Programming and Scripting
Hi,
I wrote one shell script and I am calling 1 sql script inside shell script. When I am running the shell script, I am getting actual data as well as garbage data in the output file. Why the garbage is there in the log file. Please help if anybody having any ides.
Script:
-------
... (2 Replies)
Discussion started by: vsachan
2 Replies
7. Shell Programming and Scripting
Hi All,
below is my shell script
#!/bin/sh
set -x
echo "test for multiple values"
UIDPSWD=`cat /projects/feeds/twest/uidpswd`
echo "oracle connection test"
full=/projects/feeds/twest/test_file
values=`cut -d'|' -f1 $full|sed -e "s/.*/'&'/" -e 's/$/,/g' -e '$s/,$//'`
sqlplus $UIDPSWD... (2 Replies)
Discussion started by: krupasindhu18
2 Replies
8. Shell Programming and Scripting
I have the following script
#!/bin/ksh
# **********************************************************************
#
# System: xxxx
#
# Filename: List_Largest_Files.sh
#
# Purpose: List 10 largest files in current partition
#
# Modification History:
# 1.0 ... (9 Replies)
Discussion started by: pure_jax
9 Replies
9. Shell Programming and Scripting
Hi guys,
So I am using an awk command to return a specific column in a file.
I also need to remove some extra characters.
What I have is ::
(http-/0.0.0.0:8091-9)|23:00:41
And what I want is :
http-/0.0.0.0:8091-9
I tried using the td command but it is only removing the ( ,... (5 Replies)
Discussion started by: Junaid Subhani
5 Replies
LEARN ABOUT DEBIAN
objline
OBJLINE(1) General Commands Manual OBJLINE(1)
NAME
objline - create metafile line drawings of RADIANCE object(s)
SYNOPSIS
objline [input ..]
DESCRIPTION
Objline takes one or more RADIANCE scene files and produces four parallel line projections using calls to rad2mgf(1) and mgf2meta(1). The
output must be redirected to a suitable destination for metafile(5) 2-d graphics, such as x11meta(1) or psmeta(1).
The four projections presented are along the X-axis (displayed in the upper left quadrant), along the Y-axis (upper right), along the Z-
axis (lower left) and an oblique view (lower right). If multiple RADIANCE input files are given, they are shown in different colors and
line styles. (Materials are ignored, so materials files are best left out.) If no input files are given on the command line, the standard
input is read.
EXAMPLES
To create a line drawing of the RADIANCE file "myfile.rad" and display under X11:
objline myfile.rad | x11meta -r &
To create a line drawing of three objects in different colors and send to the printer:
objline obj1.rad obj2.rad obj3.rad | psmeta | lpr
To create a line drawing of a room and convert into a 1024x1024 RADIANCE picture:
objline room.rad | meta2tga -x 1024 -y 1024 | ra_t8 -r > drawing.hdr
AUTHOR
Greg Ward
SEE ALSO
meta2tga(1), metafile(5), mgf2meta(1), psmeta(1), ra_t8(1), rad2mgf(1), x11meta(1)
RADIANCE
10/27/95 OBJLINE(1)