Yes, I removed file "test" and ran the script. There are 12 files in the sandbox directory. When the file "test" is generated again from the script the results are 24 lines:
Thanks again,
Bob
---------- Post updated at 01:22 PM ---------- Previous update was at 01:19 PM ----------
I figured it out. It was a typo on my part. The problem is solved.
Thanks for all your help and patients with a "nubee"
Hi guys i have written a script which takes the options given to him and execute itself accordingly.
for example
if a script name is doctortux then executing doctortux without option should made doctortux to be executed in automatic mode i.e. doctortux -a
or if a doctortux is needed to run in... (4 Replies)
My requiremeny is as follows,
I have two files
file a
A BONES RD,NHILL,3418,VIC
37TH PARALLEL RD,DEEP LEAD,3385,VIC
4 AK RD,OAKEY,4401,QLD
A & J FARRS RD,BARMOYA,4703,QLD
A B PATTERSON DR,ARUNDEL,4214,QLD
A BLAIRS RD,BUCKRABANYULE,3525,VIC
file b
A BONES... (12 Replies)
hi guys
i have this very messy script, that looks in /var/log/messages.all for an error and reports if it finds the key works
how can i get it to look at more then one file, i.e /var/log/message.all *
so it looks in old logs as well
thanks
exit 0 if (isRenderNode(hostname));
my... (4 Replies)
Platforms : Solaris 10 and RHEL 5.6
I always get double quotes , single quotes and asteriks mixed up for find, ls and grep commands.
The below commands retrieve the correct results. But , unders stress , I get all these mixed up :mad: .So, i wanted to get a clear picture.
Please check if... (7 Replies)
Platform: AIX 6.1/ksh
Question1.
I want to grep for the string "CUSTOM_PKMS" in all the files in server except those files with extensions .dbf , .ctl and .dmp
I started running the following command but it is taking too long because there are lots of .dbf , .ctl and .dmp files in this... (6 Replies)
Hi all,
actually i have a lot of IP addresses on multiple .xml files on my folder,
my tag on xml files are like this,
<db-url>jdbc:oracle:thin:@10.100.5.56:1521:DWH01</db-url>
i actually can print only the IP addresses
awk -F"" '/url/ { print $3 }' *.xml
10.100.5.56
i would like to grep... (2 Replies)
Hi Experts,
I'm writing script to find out last files and its modified date - unfortunately am having problem with the below script.
Error message:
"grep: sales.txt: No such file or directory"
#!/bin/bash
var=1
var1=`awk '{n++} END {print n}' sales.txt`
while ]
do
prod=$var... (6 Replies)
Hi everyone
I am trying to write a script to check if file systems are mounted, and also validate the permission; then do a whole bunch of other things. I am facing a problem with grep. For example, if the mountpoints are:
/dev/XYZ_lv /abc/XYZ jfs2 Nov 25 20:36... (4 Replies)
I have a need to grep a large number of files, but only display the first result from each file. I have tried to use grep, but am not limited to it. I can use perl and awk as well. Please help! (9 Replies)
I have a text file (allWords.txt), that I would like to search through. Here is a snippet of what it looks like...
a
aah
aahed
aahing
aahs
aardvark
aardvarks
aardwolf
ab
abaci
aback
abacus
abacuses
abaft
......
I would like to use the grep search to search, line by line, for... (8 Replies)
Discussion started by: blackvelvet
8 Replies
LEARN ABOUT DEBIAN
gpg-mailkeys
GPG-MAILKEYS(1) General Commands Manual GPG-MAILKEYS(1)NAME
gpg-mailkeys - sends emails containing keys to their owners
SYNOPSIS
gpg-mailkeys id...
DESCRIPTION
gpg-mailkeys sends the owners of the keys listed on the command line a mail each, containing their public key. After signing, you can use
this tool to send everyone the new signatures they just got.
If you're interested in encrypting the signature before it's sent, in order to verify that the associated address actually belongs to the
key owner, you should check out caff
OPTIONS
None
ENVIRONMENT
NAME Set the name to use when sending messages
EMAIL Set the email address to use when sending messages
SUBJECT Set the subject of the messages you send
TEXT Set the body text of the messages
SENDMAIL_ARGS
Set arguments to pass to /usr/sbin/sendmail. This can be useful to set credentials in order to authenticate to an smtp server
when using ssmtp for example.
FILES
The behavior of gpg-mailkeys can be updated through some files available in the user home directory.
Thus, ~/.gpg-mailkeysrc allows the user to overwrite the default value for the above environment variables, and any text in ~/.signature
will be appended to the end of the body text of the message.
SEE ALSO gpg(1),caff(1)AUTHOR
This manual page was written by Simon Richter <sjr@debian.org>.
Nov 23, 2010 GPG-MAILKEYS(1)