I have a requirement of masking few specific fields in the UNIX file. The details are as following-
File is fixed length file with each record of 250 charater length.
2 fields needs to be masked – the positions are 21:30 and 110:120
The character by character making needs to be done which means one character in this field (21:30 and 110:120) should be replaced with some another character.
The replacement patterns should be kept in a separate file. For example
Which means A should be replaced with B , B with C and so on.
Last edited by Don Cragun; 07-31-2015 at 10:09 PM..
Reason: Add CODE and ICODE tags.
Is it possible for a internal LAN to mask a IP e.g. i have a server ip running the intranet ip being 192.168.0.8 and i want to make that like www.intranet.com is this possible on a internal network ? (1 Reply)
Hello,
I need to know that whether a content of a string can be hidden or masked inside a shell script.
My Sample Code is given below
<Code>
#!/usr/bin/ksh
Userid=test
DB=temp
Passwd=`java Decryption test`
# The Above command will get the encryped password for "test" user id and store... (2 Replies)
I have a pipe delimited file that I need to 'mask' to before loading to keep some data confidential. I need to maintain the first 4 bytes of certain columns and replace the remaining bytes with an 'x'. I would like to maintain spaces but it's not a requirement.
Example, need to mask columns 2... (2 Replies)
I am trying to redirect my site to another with masking using .htaccess.
I have the redirect working, but it does not mask. Here is what I have in my .htaccess:
RewriteEngine On
rewritecond %{http_host} ^http://www.securepaynet.net/default.aspx?ci=1767&prog_id=globalnerds
RewriteRule /... (0 Replies)
Hi I am facing an issue with the below script which has the below line
each field being separated with a tab.
I need to mask the 8 and 7th field based on following conditions
1. 8th field is 16 in length and is numerics
i will mask the middle 6 digits except the first 6 and last 4.
input... (2 Replies)
I am looking to forward the following with masking via my .htaccess file:
www.mywebsite.com/origpage www.mywebsite.com/newpage
I do not want to forward the entire site, just this one page with masking. Neither page has an extension. I am able to forward with .htaccess - but it does not mask the... (1 Reply)
So I've been working on this for some time now and can't seem to find the solution that works for me. I'm working in C/Unix. Basically, I want to take a user input and output something different. For example, I want to take a password and output *'s. In another instance, I want to take inputed... (35 Replies)
My file "test.dat" data as below
Requirement is to mask(replace) all english characters with "X" EXCEPT first 7 characters of every line.
my command
awk '{gsub("]","X")}1' test.dat
looks not working properly, Appreciate any suggestion... (6 Replies)
Discussion started by: JSKOBS
6 Replies
LEARN ABOUT OSF1
jdbreg
jdbreg(8) System Manager's Manual jdbreg(8)NAME
jdbreg - Registers hosts in the DHCP dynamic databases.
SYNOPSIS
/usr/sbin/jdbreg [-d] [-e] [-f character] [-s] [-l | -n] [-o] [-w] filename...
OPTIONS
Deletes the records whose keys are implied by the input file(s). Uses character as the field separator. The default is the pipe | charac-
ter. Display all currently registered hosts.
DESCRIPTION
The jdbreg program registers (or removes) hosts for configuration by DHCP. When the registered_hosts_only policy is in effect, the server
configure only clients whose MAC addresses are so registered. When this policy is not in effect, registering hosts has no effect.
Each record to be loaded is terminated by a newline, and the fields within each record delimited by default with the pipe (|) character,
although this may be changed with the -f command line option.
The fields within the data file(s) to be loaded are as follows: MAC address MAC address type MAC address length (octets)
RESTRICTIONS
Because the database used by join does not support multiuser concurrently, applications that write to it, lock the entire database. This
means that you cannot use jdbreg while joind is running. The converse is also true.
FILES SEE ALSO
Commands: joind(8)jdbreg(8)