10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Right now we have a PowerShell script to read a website (it ends with .del) and send it to a SCO Unix computer, but would like to be able to get it with a script when the website is updated.
Is there a way to use ftp for this?
TIA (2 Replies)
Discussion started by: wbport
2 Replies
2. UNIX for Dummies Questions & Answers
Hi there,
I am trying to read the content such that if there is 'adsmsext.dll', it will read everything from line one until it reads line 6 with 'C:' then it will terminate at line 5.
1. C:\WINDOWS\system32\adsmsext.dll NT AUTHORITY\Authenticated Users:R
2. ... (5 Replies)
Discussion started by: alvinoo
5 Replies
3. Shell Programming and Scripting
I have a unix shell script that calls two Select Queries using sqlplus as shown below.
more extract.sh
result=$(sqlplus -s usr/swd@myhost_sid @/tmp/SELECT_QUERY.run)
more @/tmp/SELECT_QUERY.run
SELECT PROBLEM_TYPE, COUNT (*) FROM BATCH WHERE UPPER (STATUS) = 'NEW' AND PROB_TYPE... (1 Reply)
Discussion started by: mohtashims
1 Replies
4. Windows & DOS: Issues & Discussions
I haven't used Unix in years, I have alot of old Unix files SVR3 on 5 1/4 that I need to move over to a windows platform. Does anyone have any suggestions? Thanks. (5 Replies)
Discussion started by: glangsd
5 Replies
5. Shell Programming and Scripting
:wall:hi all,
please somebody can help me out in reading the pop3 mail attachments or saving it locally
i have a mail account where i receive .csv attachments i need to read that attachments and process them.
any sample code can be much appriciated
Removed email
:wall: (3 Replies)
Discussion started by: srikanthkadapal
3 Replies
6. Shell Programming and Scripting
i have a directory that has n files starting with ABC_00x.txt and ABC_00x.txt where x is the integer number.
i want to read the contents of each file and write it into a log file.
can somebody help me in writing the shell script in unix (3 Replies)
Discussion started by: vkca
3 Replies
7. Shell Programming and Scripting
Hi ,
I need to read line by line from a file. Can u please tell me the most efficient way to do it. SInce i will be reading more than 1000 files in my program. i am trying the following options :
1. nawk option
nawk'{
print $0
}'files.temp
2.
filecount=`cat files.temp | wc -l`... (2 Replies)
Discussion started by: pradeepthanraj
2 Replies
8. UNIX for Dummies Questions & Answers
Hello I was wondering if anyone had a Unix book recommendation. Just one book, that can give me a good foundation in Unix and has plenty of hands on exercises to follow along with on my Unix terminal? Thank you (1 Reply)
Discussion started by: vedder191
1 Replies
9. UNIX for Advanced & Expert Users
Can any u pls tell me :-
I want to read a particular line from a file, say line no. 10.
This can be done by using awk..but that method I think, is inefficient.
Is there any direct command for this?
Thanks (2 Replies)
Discussion started by: yeheyaansari
2 Replies
10. UNIX for Dummies Questions & Answers
I desperately need to get a text file off of this floppy to resolve a customer issue on one of PC servers in thier all UNIX site. They sent the information on a UNIX formatted floppy with the information I need.
Please help me as I need this ASAP.
Black Knight (4 Replies)
Discussion started by: Black Knight
4 Replies
EQN2GRAPH(1) General Commands Manual EQN2GRAPH(1)
NAME
eqn2graph - convert an EQN equation into a cropped image
SYNOPSIS
eqn2graph [ -unsafe ] [ -format fmt ]
DESCRIPTION
Reads an EQN equation (one line) as input; produces an image file (by default in Portable Network Graphics format) suitable for the Web as
output.
Your input EQN code should not have the .EQ/.EN preamble that that normally precedes it within groff(1) macros; nor do you need to have
dollar-sign or other delimiters around the equation.
The output image will be clipped to the smallest possible bounding box that contains all the black pixels. Older versions of convert(1)
will produce a black-on-white graphic; newer ones may produce a black-on-transparent graphic. By specifying command-line options to be
passed to convert(1) you can give it a border, force the background transparent, set the image's pixel density, or perform other useful
transformations.
This program uses eqn(1), groff(1), and the ImageMagick convert(1) program. These programs must be installed on your system and accessible
on your $PATH for eqn2graph to work.
OPTIONS
-unsafe
Run groff(1) in the `unsafe' mode enabling the PIC macro sh to execute arbitrary commands. The default is to forbid this.
-format fmt
Specify an output format; the default is PNG (Portable Network Graphics). Any format that convert(1) can emit is supported.
Command-line switches and arguments not listed above are passed to convert(1).
FILES
/usr/share/groff/1.22.2/tmac/eqnrc The eqn(1) initialization file.
ENVIRONMENT
GROFF_TMPDIR
The directory in which temporary files will be created. If this is not set eqn2graph searches the environment variables TMPDIR,
TMP, and TEMP (in that order). Otherwise, temporary files will be created in /tmp.
BUGS
Due to changes in the behavior of ImageMagick convert(1) that are both forward and backward-incompatible, mismatches between your eqn2graph
and convert(1) versions may produce zero-sized or untrimmed output images. For this version of eqn2graph you will need a version of con-
vert(1) that supports the -trim option; older versions of eqn2graph used -crop 0x0, which no longer has trimming behavior.
SEE ALSO
pic2graph(1), grap2graph(1), eqn(1), groff(1), gs(1), convert(1).
AUTHOR
Eric S. Raymond <esr@thyrsus.com>.
Groff Version 1.22.2 7 February 2013 EQN2GRAPH(1)