I have an odd issue.
I am trying to copy some files/folders to my linux box via a burned CD which I created on my mac. When I browse the files on the mac (or my windows box), everything looks fine (some of the folder names start with a capital letter, which is needed for everything to work... (8 Replies)
Hi. Does anyone know how to use the sed command to change the special border characters on this .per file. I have to edit about 80 .per files. I need a sed script to change the below 3 and A characters.
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³ Test Islands, Office of Public Health -- WIC... (4 Replies)
Hi,
I have a korn shell script with 1 parameter.
My script deletes certain files, for example....
sid=$1
rm $ORC/dbs/orapwd${sid} #orapwddb1
rm $ORC/dbs/lk${sid} #lkDB1
In the first file, the $sid must be in small letters and in the second file, the $sid must be in capital... (4 Replies)
hi guys, I know this might be very simple for u but not for me.
I simply want to print the active users, changeing the first letter in their names to capital. i guess sed it's useful but don't know how to find the correspondign capital letter and don't know how to change just the first... (16 Replies)
Hi,
I just want to search a file for any words containng a capital letter and then display a list of just these words!
I have been trying grep but to no has not helped.(im using the bash shell) (1 Reply)
Hi All
At the moment the following code works but ideally i do not want to have to change the original $1
tr "\r" "\n" < "$1" > "$1.fix"
printf "\n" >> "$1.fix"
mv "$1.fix" "$1"
FILE=$1
coffee_out="splitmovie"
coffee_fill="-splitAt"
coffee_end="-self-contained -o output.mov $2"... (1 Reply)
Hello everyone I tell you that I'm trying to do a bash program that can put parentheses around each capital letter of each line using SED.
I tell you probe with:
sed -e '1,$s/A/(A)/g' "$file"
but only add parentheses in A.
then tested with:
sed 'y/AB/(A)(B)/' "$archivo"
but it... (3 Replies)
Hello,
I am running Solaris 8. When issuing the command "stty lcase" all text which is output to the terminal are capitalized. Letters that are supposed to be capitals are preceded by a backslash during output. All text which is input is converted to lower case. This is the expected behaviour... (5 Replies)
Hi I have a file passwd_exmpl that contains:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync... (5 Replies)
Discussion started by: eladage
5 Replies
LEARN ABOUT DEBIAN
mail::bulkmail::dummyserver
Bulkmail::DummyServer(3pm) User Contributed Perl Documentation Bulkmail::DummyServer(3pm)NAME
Mail::Bulkmail::DummyServer - dummy class for dummy server objects
AUTHOR
Jim Thomason, jim@jimandkoka.com
DESCRIPTION
Mail::Bulkmail::DummyServer is a drop in replacement for Mail::Bulkmail::Server.
Sometimes you just want to test things on your end - make sure your list iterates properly, make sure your mail merge is functioning fine,
make sure your logging functions are correct, whatever. And in those cases, you probably don't want to worry about futzing around with
your SMTP relay and sending junk messages through it that you don't care about. Not to mention the fact that those probably will need to be
inspected and deleted later. A hassle for debugging.
Enter DummyServer. This is a subclass of Mail::Bulkmail::Server that behaves exactly the same except for the fact that it doesn't actually
connect to a server. Instead, it sends all data that would be going to the server to a file instead. This file should be specified in the
conf file.
#in your conf file
define package Mail::Bulkmail::DummyServer
dummy_file = ./my.dummy.file
Now, instead of sending commands to your SMTP relay, they'll get sent to ./my.dummy.file for easy inspection at a later date.
CLASS ATTRIBUTES
dummy_file Stores the dummy_file that you want to output your data to.
METHODS
connect "connects" to your DummyServer. Actually, internally it ties a filehandle onto this package. Yes, this thing has a (minimal)
implementation of a tied handle class to accomplish this feat.
This method is known to return
MBDu001 - server won't say EHLO
disconnect overloaded disconnect method. Wipes out the internal socket as usual, but doesn't try to say RSET or QUIT to the server.
disconnect can also disconnect quietly, i.e., it won't try to issue a RSET and then quit before closing the socket.
$server->disconnect(); #issues RSET and quit
$server->disconnect('quietly'); #issues nothing
SEE ALSO
Mail::Bulkmail::Server
COPYRIGHT (again)
Copyright and (c) 2003 James A Thomason III (jim@jimandkoka.com). All rights reserved. Mail::Bulkmail::DummyServer is distributed under
the terms of the Perl Artistic License.
CONTACT INFO
So you don't have to scroll all the way back to the top, I'm Jim Thomason (jim@jimandkoka.com) and feedback is appreciated. Bug
reports/suggestions/questions/etc. Hell, drop me a line to let me know that you're using the module and that it's made your life easier.
:-)
perl v5.8.8 2008-03-04 Bulkmail::DummyServer(3pm)