08-29-2018
No lack I'm afraid still showing my name.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
What I am trying to do is figure out how to remove a column from a list in a file, or from the command line.
The opposite of cut -cX-Y file1
The file contains (result of who command)
jhabi0 pts/ta Oct 8 16:22
llemo0 pts/1 Oct 8 15:30
rgood0 pts/2 Oct ... (3 Replies)
Discussion started by: jxh461
3 Replies
2. Shell Programming and Scripting
I have a list which contains all the jar files shipped with the product I am involved with. Now, in this list I have some jar files which appear again and again. But these jar files are present in different folders.
My input file looks like this
/path/1/to a.jar
/path/2/to a.jar
/path/1/to... (10 Replies)
Discussion started by: vino
10 Replies
3. UNIX for Dummies Questions & Answers
I am working on a script that prompts a user name and creates a list in a username.dat file. Furthermore, I have created a sorted_username.dat file. My question is this: My script uses the word "finished" != finished to break the while loop. How can I avoid having the word "finished" show up in... (5 Replies)
Discussion started by: erest8
5 Replies
4. Shell Programming and Scripting
Hi,
I have file as shown below.
abc,
def,
abc,
xyz,
I have to remove ',' from end of last line (xyz,). How can I do that with single command? Is it possible or I have to iterate through complete file to remove that?
- Malay (2 Replies)
Discussion started by: malaymaru
2 Replies
5. Shell Programming and Scripting
Can any one tell me how to use elm to send mail using CC list with command line ?
I need to write script to send mail to TO list as well as CC list
Not using elm editor.
Regards,
Venkat (0 Replies)
Discussion started by: svenkatareddy
0 Replies
6. Solaris
Can any one tell me how to use elm to send mail using CC list with command line ?
I need to write script to send mail to TO list as well as CC list
Not using elm editor.
Regards,
Venkat (0 Replies)
Discussion started by: svenkatareddy
0 Replies
7. UNIX for Dummies Questions & Answers
Hello,
Here is my problem. there are two files.
first.txt <<< contains email address
======
abc@mail.com
abd@mail.com
abe@mail.com
second.txt <<< contains webpage links
========
http//www.test.com/abc/index.html
http://www.test.com/abd/index.html
http://www.test.com/abe/index.html... (2 Replies)
Discussion started by: paulds
2 Replies
8. Shell Programming and Scripting
Hello,
I was wondering if there was an easy way to take lines from a single-column list, and remove them from a second single-column list. For example, I want to remove the contents of list 1 from list 2. How would I do this?
Contents of list 1:
server1a
server2b
server3c
server4a... (2 Replies)
Discussion started by: LinuxRacr
2 Replies
9. Shell Programming and Scripting
Hi to All,
to send a imput (passwd) to telnet i use this command :
nc -t -i3 192.168.1.131 23 <cmd.fileand in cmd.file i've writed passwd.
The command is executed ok.
But i've problem if in the cmd.file i put a second input for telnet, because it is not executed.
Does... (0 Replies)
Discussion started by: gianni.op
0 Replies
10. UNIX for Dummies Questions & Answers
I have this piece of code
printf '%s\n' $pth*.msf | tr ' ' '\n' | sort -t '-' -k7 -k6r \
| awk -F- '{c=($6$7!=p&&FNR!=1)?ORS:"";p=$6$7}{printf("%c%s\n",c,$0)}'
When I run it I get
/home/chrisd/tatsh/branches/terr0.50/darwin/n02-z30-dsr65-terr0.50-dc0.002-8x6drw-csq.msf... (8 Replies)
Discussion started by: kristinu
8 Replies
LEARN ABOUT DEBIAN
genclock
GENCLOCK(1) General Commands Manual GENCLOCK(1)
NAME
genclock - generate a RADIANCE description of a clock
SYNOPSIS
genclock [ -f face_mat ][ -c case_mat ][ -n name ] { HH:MM | hours }
DESCRIPTION
Genclock produces a RADIANCE scene description of an analog clock showing the given hour. The hour may either be given as HH:MM or decimal
hours.
The face of the clock will have a radius of 1.0 units, with the surrounding case 1.1 (2.2 diameter). The origin is at the center of the
back, and the face looks in the positive X-direction. The 12 o'clock direction corresponds to the positive Z-axis. (The Y-axis direction
is 3 o'clock.) The xform(1) command may be used to resize and relocate the clock as desired.
Normally, genclock produces all of the materials necessary for its own description, but options are provided to specify alternate materials
for the face and case. The numbers on the face are in dark lettering, so the face material must be relatively light for them to show up
well. By default, the clock is given the name "clock," but this may be changed with the -n option.
EXAMPLE
To produce a 12 inch diameter clock showing 10:35 and hang it at 60 on a wall facing the Y-direction at Y=10:
genclock 10:35 | xform -s 6 -rz 90 -t 20 10 60
AUTHOR
Greg Ward
SEE ALSO
genrbox(1), genrev(1), gensurf(1), genworm(1), rpict(1), rvu(1), xform(1)
RADIANCE
4/9/97 GENCLOCK(1)