Parse text file values and send those files as an attachment
We have these files in say \home\abcd\dm
The contents of Summary.txt is as below
Now i need a statement which will get all the file names from Summary.txt and then append the contents of these files and send it as an email.
For the above example, the contents of files
log_SI-100.lst
log_SI-101.lst
log_SI-106.lst
will be appended and sent as an email.. please help me out..
Last edited by Yogesh Sawant; 05-01-2011 at 07:36 AM..
Reason: added code tags
Hi there,
i am very new in the unix sector. (i work on HP UX, an Sun Solaris)
i can write some simple scripts,.....
but now i will wirte a script with "mail".
i would like to send a pdf file to a mail recipient.
But if i try it with "mail -s "email@adress" < "filename(with path)" it... (3 Replies)
Please help.
I have a text file which looks something like this
aaa@abc.com, c:FilePath\Eaaa.txt
bbb@abc.com, c:FilePath\Ebbb.txt
ccc@abc.com, c:FilePath\Eccc.txt
ddd@abc.com, c:FilePath\Eddd.txt...so on
I want to write a shell script which will pick up the first field 'aaa@abc.com' and... (12 Replies)
Hi all,
I am working on UNIX (Solaris28). I would like to send an email in which the body will be in html format and, in the same mail, a xls file has to be attached.
I have tried this: the file is correctly attached but the body comes as html source and not formatted. If I do not attach the... (4 Replies)
Hello,
I need a shell script which need to send a mail with 4 *.csv files as attachments.Anybody can help me?
At present i have a script which is sending only one file as attachments.But i need a script which send 4 files in a shot.
#!/bin/ksh
/bin/mail xxxx@xx.xom << EOF
Subject:... (4 Replies)
hello ,
i m new to linux/unix , well in my college their is linux server to which we all (i and my frnds) login
, we can send mail to each other through command "mail" .
but any one can tell me how can i attached a binary file with mail.
we are using red hat , "pine ", "mailx" , all... (2 Replies)
Hi All,
Is there anyway we can send files as an attachment? I tried running uuencode but its giving an error as below:
$ uuencode Z1.txt Z1.txt |mailx -s "hi" abc@abc.com
ksh: uuencode: not found.
Null message body; hope that's ok
When i gave which command then it says there is no... (18 Replies)
Enclosed is comma separated text file. I need to write a korn shell program that will parse the text file and insert the values into Oracle database.
I need to write the korn shell program on Red Hat Enterprise Linux server.
Oracle database is 10g. (15 Replies)
Hi,
I want to send color text as body of mail with multiple attachments.How to do this?I used sendmailcommand but this command fails for multiple attachments.Give me some solution on this.
:wall: (0 Replies)
Discussion started by: AhmedLakadkutta
0 Replies
LEARN ABOUT DEBIAN
asxxxx
ASxxxx(1) General Commands Manual ASxxxx(1)NAME
ASxxxx - Series of microprocessor cross assemblers for SDCC.
SYNOPSIS
asx8051 [options] file1 [file2 file3 ... file6]
as-gbz80 [options] file1 [file2 file3 ... file6]
as-z80 [options] file1 [file2 file3 ... file6]
WARNING
The information in this man page is an extract from the full documentation of SDCC, and is limited to the meaning of the options.
For complete and current documentation, refer to the ASxxxx Cross Assembler Documentation, available in /usr/share/doc/sdcc-doc/aslink.
DESCRIPTION
The ASxxxx assemblers are a series of microprocessor assemblers. Each assembler has a device specific section.
MCS51 family is supported by asx8051.
Z80family is supported by as-z80.
GBZ80 (GameBoy Z80-like CPU) is supported by as-gbz80.
OPTIONS
The ASxxxx assemblers are command line oriented. The PC assemblers are started with the appropriate option(s) and file(s) to assemble fol-
lowing the assembler name.
-d decimal listing.
-q octal listing.
-x hex listing (default)
The listing radix affects the .lst, .rel, and .sym files.
-j add line number and debug information to file.
-g undefined symbols made global.
-a all user symbols made global.
-l create list output file1.lst.
-o create object output file1.rel.
-s create symbol output file1.sym.
-p disable listing pagination.
-w wide listing format for symbol table.
-z enable case sensitivity for symbols.
-f flag relocatable references by ` in the listing file.
-ff flag relocatable reference by mode in the listing file.
The file name for the .lst, .rel, and .sym files is the first file name specified in the command line. All output files are ascii text
files which may be edited, copied, etc. The output files are the concatenation of all the input files, if files are to be assembled inde-
pendently invoke the assembler for each file.
The .rel file contains a radix directive so that the linker will use the proper conversion for this file. Linked files may have different
radices.
If the list (l) option is specified without the symbol table (s) option, the symbol table is placed at the end of the listing file.
SEE ALSO sdcc(1), aslink(1), asx8051, as-z80(1), as-gbz80(1).
AUTHOR
This manual page was written by Aurelien Jarno <aurel32@debian.org>, for the Debian GNU/Linux system (but may be used by others).
ASxxxx(1)