Sponsored Content
Top Forums Shell Programming and Scripting Filtering/Finding a "Fortune" message Post 71657 by oldtrash on Friday 13th of May 2005 07:16:30 AM
Old 05-13-2005
Smilie That's cool.. Out of the box solution..
Thanks to all replied..
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`"

Hi Friends, Can any of you explain me about the below line of code? mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'` Im not able to understand, what exactly it is doing :confused: Any help would be useful for me. Lokesha (4 Replies)
Discussion started by: Lokesha
4 Replies

2. Shell Programming and Scripting

What is "fortune" for UNIX ????

Hello sir, I was reading about "fortune". From the following link:- fortune (Unix) - Wikipedia, the free encyclopedia It was very informative.I want to install the package if available.Can you please give me the link download.Can you tell me in what kind of applications we make use of it.I... (1 Reply)
Discussion started by: nsharath
1 Replies

3. Shell Programming and Scripting

awk command to replace ";" with "|" and ""|" at diferent places in line of file

Hi, I have line in input file as below: 3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL My expected output for line in the file must be : "1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL" Can someone... (7 Replies)
Discussion started by: shis100
7 Replies

4. UNIX for Dummies Questions & Answers

Unix "look" Command "File too large" Error Message

I am trying to find lines in a text file larger than 3 Gb that start with a given string. My command looks like this: $ look "string" "/home/patrick/filename.txt" However, this gives me the following message: "look: /home/patrick/filename.txt: File too large" So, I have two... (14 Replies)
Discussion started by: shishong
14 Replies

5. Shell Programming and Scripting

finding the strings beween 2 characters "/" & "/" in .txt file

Hi all. I have a .txt file that I need to sort it My file is like: 1- 88 chain0 MASTER (FF-TE) FFFF 1962510 /TCK T FD2TQHVTT1 /jtagc/jtag_instreg/updateinstr_reg_1 dff1 (TI,SO) 2- ... (10 Replies)
Discussion started by: Behrouzx77
10 Replies

6. Homework & Coursework Questions

Need help creating shell script with output that has 2014 calendar and 2 text items from a"fortune"

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: I am required to create a bash shell script with either emacs or vi. It must include the year 2014 calendar on... (9 Replies)
Discussion started by: dandanhelpmeman
9 Replies

7. UNIX for Dummies Questions & Answers

Using "mailx" command to read "to" and "cc" email addreses from input file

How to use "mailx" command to do e-mail reading the input file containing email address, where column 1 has name and column 2 containing “To” e-mail address and column 3 contains “cc” e-mail address to include with same email. Sample input file, email.txt Below is an sample code where... (2 Replies)
Discussion started by: asjaiswal
2 Replies

8. Shell Programming and Scripting

Bash script - Print an ascii file using specific font "Latin Modern Mono 12" "regular" "9"

Hello. System : opensuse leap 42.3 I have a bash script that build a text file. I would like the last command doing : print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt where : print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies

9. AIX

Apache 2.4 directory cannot display "Last modified" "Size" "Description"

Hi 2 all, i have had AIX 7.2 :/# /usr/IBMAHS/bin/apachectl -v Server version: Apache/2.4.12 (Unix) Server built: May 25 2015 04:58:27 :/#:/# /usr/IBMAHS/bin/apachectl -M Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_worker_module (static) ... (3 Replies)
Discussion started by: penchev
3 Replies
GENBOX(1)						      General Commands Manual							 GENBOX(1)

NAME
genrbox - generate a RADIANCE description of a box SYNOPSIS
genrbox mat name xsiz ysiz zsiz [ -i ][ -r rad | -b bev ] DESCRIPTION
Genbox produces a RADIANCE scene description of a parallelepiped with one corner at the origin and the opposite corner at (xsiz, ysiz, zsiz). The sides of the box will be parallel to the three coordinate planes. The surfaces that make up the box will be modified by mat and their identifiers will begin with name. The -i option can be used to produce a box with inward directed surface normals. The -r option can be used to specify the radius for rounded edges. The -b option can be used to specify the indentation for beveled edges. EXAMPLE
To produce a rectangular box made of wood with beveled edges: genrbox wood box1 5 8 3 -b .5 > box1 AUTHOR
Greg Ward BUGS
Because spheres and cylinders are used to construct boxes with rounded edges, a transparent box of this type appears quite messy. SEE ALSO
genrev(1), gensurf(1), genworm(1), rpict(1), rvu(1), xform(1) RADIANCE
11/15/93 GENBOX(1)
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy