08-11-2010
Need to Mask Data
I have an requirement. There is a file which has the below contents
Unix|123|17-01-2010
....
....
....
....
and so an
now each letter has a corresponding predefined mapping letter in order to mask the original data.(for example U = A,
n=b, i=c, x=d, same like number 1=9,2=8,3=7. Also for date field it will have default date as 01-01-1999).
Like wise i will have so many rows in the file. How to mask the data
The idea is to mask the original contents. Every upper case A to Z and a to z will have corresponding letter to map,
same like 0 to 9 will have corresponding number
After masking the data the original file content will replace with the masked data.
Any idea how to go about this requirement
Thanks
Babu
10 More Discussions You Might Find Interesting
1. IP Networking
Hi,
I have about 30 computers for users with subnet mask x.x.x.0, and 25 computers for workers with s.m. x.x.x.128. My server has a s.m. x.x.x.128 so with workers computers I can see my server and all the computers in that s.m., but I can't see the server from the users computers and I need to see... (7 Replies)
Discussion started by: Z0DiaC
7 Replies
2. Programming
Hi,
Could any one help me to write a C program for password mask
with ******. I mean whatever word i will type that will show on the screen as ***** and should store the correct value in a variable.
Thanks in advance
Krishna (5 Replies)
Discussion started by: krishna
5 Replies
3. IP Networking
What is the command to change the mask to 255.255.255.0
The system was set up incorectly and the mask needs to be corrected (1 Reply)
Discussion started by: kkinnon
1 Replies
4. UNIX for Dummies Questions & Answers
hello everbody:
Im trying to give the user "ydarwish" a full access over some directory on my sol9 machine.
however the setfacl is recalculating the mask parameter keeping me from keeping him effective write and read access:
root@Obi-Wan> setfacl -m u:ydarwish:rwx /IN_ARCHIVE6
root@Obi-Wan>... (4 Replies)
Discussion started by: aladdin
4 Replies
5. Shell Programming and Scripting
HP-UX 11i v2. #!/bin/sh
Hi all.
I have a flat file like this with lines like this:
|07/19/07|08:26AM|1|CupsCoffee|CupsCo|989898989 |Doe, John Y |THE PLUS CARD - Price| | |Y| | 2.00|
I would like to replace the id number (field 6) with a masked... (3 Replies)
Discussion started by: lyoncc
3 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
i am executing peoplesoft sqr command from unix prompt which has the unix id/password as parameter along with other parameters. i want to show whole command in log file but want to mask the id/password field. this command i am executing in shell script. Please suggest..
>sqr sqrname... (2 Replies)
Discussion started by: avi.coep
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I have a file like following,
aaabb
aaavv
bbdddaaab
fgdgjhaa
bfd
12352aa
dgs1xaf
sdgsdyg4
How can i get the output below(mask off all the line that have "a") by using vim
#aaabb
#aaavv
#bbdddaaab
#fgdgjhaa
bfd
#12352aa (4 Replies)
Discussion started by: 793589
4 Replies
8. Red Hat
Hi Experts,
I'm using samba -3.6.1 on Red Hat Enterprise Linux ES release 4 (Nahant Update 8) ,all seems ok. The issue im facing is as follows.
When ever a user creates a file via windows explorer the permissions assgined to the file are as follows
-rw-rwxr--+ 1 tom group2 0 Mar 9... (1 Reply)
Discussion started by: maverick_here
1 Replies
9. Shell Programming and Scripting
Hi,
We have to mask the data that is coming from production environment to Non-production environment. The database is running in oracle platform.
If anybody has generic scripts to achive this task,it would be great if that can be shared with me?
Thank you,
Jayaprakash. (10 Replies)
Discussion started by: bandaru_0810
10 Replies
10. UNIX for Dummies Questions & Answers
Hi Guys,
can someone explain what is mask and effective right mask in setfacl and
getfacl command with example, unable to get it. (3 Replies)
Discussion started by: Jcpratap
3 Replies
LEARN ABOUT MOJAVE
towlower
TOWLOWER(3) BSD Library Functions Manual TOWLOWER(3)
NAME
towlower, towlower_l -- upper case to lower case letter conversion (wide character version)
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <wctype.h>
wint_t
towlower(wint_t wc);
#include <wctype.h>
#include <xlocale.h>
wint_t
towlower_l(wint_t wc, locale_t loc);
DESCRIPTION
The towlower() function converts an upper-case letter to the corresponding lower-case letter.
Although the towlower() function uses the current locale, the towlower_l() function may be passed a locale directly. See xlocale(3) for more
information.
RETURN VALUES
If the argument is an upper-case letter, the towlower() function returns the corresponding lower-case letter if there is one; otherwise, the
argument is returned unchanged.
SEE ALSO
iswlower(3), tolower(3), towupper(3), wctrans(3), xlocale(3)
STANDARDS
The towlower() function conforms to ISO/IEC 9899:1999 (``ISO C99'').
BSD
October 3, 2002 BSD