02-19-2008
Hey thanks,
i did not mean tilde.
then how we can make CC in mailx ..
is there any sepearte actions for the same.?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi all
i have a file in unix which is of html format.wat should be the commnad to mail this to a specific mail id let's say abc.xyz@maildomain.com. (3 Replies)
Discussion started by: dr46014
3 Replies
2. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
3. UNIX for Dummies Questions & Answers
Hi ,
I have already posted a post regarding this, but i didn't get my problem solve, so some body help me as it was urgent for me, my mail option is not working, when i send a mail, it is strucking in /var/spool/mqueue folder. and i am getting struck there itself, i see below two files are... (1 Reply)
Discussion started by: mars_girish9
1 Replies
4. Shell Programming and Scripting
Hello Everyone,
I'm using UNIX 5.3, I'm using command line mailx or mail command to send emails to multiple email addresses and i need to include bcc (background corbon copy). Some Manuals says i can use -b flag to send to bcc but my unix does not recognize the flag "-b". And some manuals says... (1 Reply)
Discussion started by: aravindbachu
1 Replies
5. Shell Programming and Scripting
I have a script (multirun.sh) which launches the program bsim_em.x or bsim_es.x depending on the value entered from the screen:
> multirun.sh 1 (executes bsim_em.x)
> multirun.sh 2 (executes bsim_es.x)
which, simplifying, I do with the following lines in the multirun.sh script:
if ... (3 Replies)
Discussion started by: josegr
3 Replies
6. Shell Programming and Scripting
I have a script with several options and during testing I found that the \? option does not handle options without dashes as I would expect. Then I run the script with any option that does not include a dash, it runs the script when I would expect \? to catch it and error.
I've tried this with... (2 Replies)
Discussion started by: HexKnot
2 Replies
7. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
8. Shell Programming and Scripting
hi,
Please suggest me how to mention "from" option in mailx command?
mailx -s "Info " ssa@org.com < file (2 Replies)
Discussion started by: sreelu
2 Replies
9. Shell Programming and Scripting
mail -r will display FIFO order. May i know on what basis...
Say it depends on sender/initiative/recipient (0 Replies)
Discussion started by: help_scr_seeker
0 Replies
10. UNIX for Beginners Questions & Answers
I am trying to execute the cli.sh script in another shell script passing arguments and getting the below error.
Myscript.sh
#!/bin/sh
/home/runAJobCli/cli.sh runAJobCli -n $Taskname -t $Tasktype
I am passing the below 2 arguments and it giving error
./Myscript.sh T_SAMPLE_TEST MTT... (11 Replies)
Discussion started by: Info_Geek
11 Replies
LEARN ABOUT DEBIAN
fnqualify
FNQUALIFY(3pub) C Programmer's Manual FNQUALIFY(3pub)
NAME
fnqualify - qualify a filename
SYNOPSIS
#include <publib.h>
size_t fnqualify(char *result, const char *path, size_t max);
DESCRIPTION
fname_qualify qualifies a filename. This means that if the input name is not an absolute name (i.e. starts from the root directory, e.g.
is foo, not /tmp/foo), the current directory will be prepended to it. Also, tilde conversion is done: if the filename begins with a tilde
(~), the tilde is replaced with the home directory of the user, and if it begins with a tilde and a username, both are replaced with the
home directory of the given user.
Simplifications like replacing /./ with /, and /foo/../bar with /bar are not done because of problems with symbolic links.
RETURNS
The function returns -1 if there was some error, or the total size of the full name otherwise. The return value may be greater than the
maximum size given by the last argument; only as much as allowed by that is actually written, though.
SEE ALSO
publib(3), fname(3)
AUTHOR
Lars Wirzenius (lars.wirzenius@helsinki.fi)
Publib C Programmer's Manual FNQUALIFY(3pub)