11-30-2017
That's a terrible solution, if you can consider it a "solution" at all (I got tired reading it half way through).
And "security by obscurity" thinking, as it would appear you intend, by hiding files (with a dot, that only an idiot wouldn't see, who'd magically think 'that's nice and clean') is no "security" at all.
Having said that, a company I used to work for once shipped a CD of production software to a big client with core dumps in many directories, albeit old ones, so your caution is understandable!
Files that begin with a dot are typically configuration-related. If you generate temporary files along the way, simply remove them when you're done. I, too, might ask 'what is this file' if I saw one that shouldn't be there, but I wouldn't get "pissy" about it until the next time I did a df, or got an alert, and saw a potential issue.
I'll get my coat.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, everyone.
I'm now using rsync command, and please tell me what is the wildcard for below looks like.
I want to chose dotfiles, such as
.ipod
.apple
but i don't want to chose
.
and
..
------------------
.*
doesn't work, of course.
Thanks,
Euler04 (2 Replies)
Discussion started by: Euler04
2 Replies
2. Shell Programming and Scripting
I am trying to split input that looks like
,2005-09-12 01:45:00.000000,2005-09-12 01:48:18.000000,
I want to split on the dot .
What I am using is ($ev_time,$rol)=split(/\./),$inputfile;
This does not recognize the dot as what I want to split on. (2 Replies)
Discussion started by: reggiej
2 Replies
3. Shell Programming and Scripting
I wanted to change 34.66 to 34,66.
I tried the command: sed 's/./,/' $NUM
Where $NUM is a variable with 34.66 value.
The output is ,4.66 (2 Replies)
Discussion started by: bdalmeida
2 Replies
4. UNIX for Dummies Questions & Answers
Hi,
Is it possible to declare variable with name having dot(.) in it ?
something like gs.test='HELLO'
Thanks in advance :) (1 Reply)
Discussion started by: gopalss
1 Replies
5. Shell Programming and Scripting
Hi,
I want to connect a Oracle databse through unix shell script.
When I will execute a shell script it will ask for user name and password to connect the databsae.
At the time of entering the password field value, it willl display the characters like star(*), dot(.) instead of exact... (2 Replies)
Discussion started by: rajesh08
2 Replies
6. Shell Programming and Scripting
Hi,
I wanted to create a script what would take two numbers out of two files and add them together, but I got stuck with greping numbers what have a dot in it.
So far I have grepped the two lines what include the numbers I need (from both files) to a third file and from that file I try to... (7 Replies)
Discussion started by: mario8eren
7 Replies
7. Shell Programming and Scripting
Hi Friends,
I have a variable which has a number (e.g. 12.1234). I want to remove "." (dot) from that number i.e. 121234
I want to do this using perl.
Can you please guide me
Thank you
Anushree (2 Replies)
Discussion started by: anushree.a
2 Replies
8. Shell Programming and Scripting
I need a script that will allow me to rename all of my files in subdir /FilesIn
as follows:
From kumc_835_111200.RMT.dat to kumc_835_111200RMT.dat
kumc_835_111200.KMR.dat to kumc_835_111200KMR.dat
.................etc
How do I do that whithout doing a sed ... (10 Replies)
Discussion started by: mrn6430
10 Replies
9. Shell Programming and Scripting
I am on hp-ux and not able to catch the file with dot using a wild card.
$ touch .test
$ ls -l .test
-rw-r--r-- 1 oracle dba 0 Mar 21 05:20 .test
$ ls -l *test
*test not found
$ ls -la *test
*test not found
Why i am not able to list the file startign with .... (7 Replies)
Discussion started by: bang_dba
7 Replies
LEARN ABOUT PHP
mailparse_rfc822_parse_addresses
MAILPARSE_RFC822_PARSE_ADDRESSES(3) 1 MAILPARSE_RFC822_PARSE_ADDRESSES(3)
mailparse_rfc822_parse_addresses - Parse RFC 822 compliant addresses
SYNOPSIS
array mailparse_rfc822_parse_addresses (string $addresses)
DESCRIPTION
Parses a RFC 822 compliant recipient list, such as that found in the To: header.
PARAMETERS
o $addresses
- A string containing addresses, like in: Wez Furlong <wez@example.com>, doe@example.com
Note
This string must not include the header name.
RETURN VALUES
Returns an array of associative arrays with the following keys for each recipient:
+---------+---------------------------------------------------+
| | |
|display | |
| | |
| | The recipient name, for display purpose. If this |
| | part is not set for a recipient, this key will |
| | hold the same value as address. |
| | |
| | |
|address | |
| | |
| | The email address |
| | |
| | |
|is_group | |
| | |
| | |
| | TRUE if the recipient is a newsgroup, FALSE oth- |
| | erwise. |
| | |
+---------+---------------------------------------------------+
EXAMPLES
Example #1
mailparse_rfc822_parse_addresses(3) example
<?php
$to = 'Wez Furlong <wez@example.com>, doe@example.com';
var_dump(mailparse_rfc822_parse_addresses($to));
?>
The above example will output:
array(2) {
[0]=>
array(3) {
["display"]=>
string(11) "Wez Furlong"
["address"]=>
string(15) "wez@example.com"
["is_group"]=>
bool(false)
}
[1]=>
array(3) {
["display"]=>
string(15) "doe@example.com"
["address"]=>
string(15) "doe@example.com"
["is_group"]=>
bool(false)
}
}
PHP Documentation Group MAILPARSE_RFC822_PARSE_ADDRESSES(3)