Hi,
I have a file which has data kind of like this.
Apr 13 08:20:38 uslis10a sendmail: m3DDKSx3006432: usliss26.ca.com
Apr 13 08:20:38 uslis10b sendmail: m3DDKSoK006433: usliss26.ca.com
Apr 13 08:20:38 uslis10b sendmail: m3DDKcSo006442: usliss26.ca.com
Apr 13 08:20:38 uslis10c... (2 Replies)
hi ,
I have a javascript file like this:
function fnValidateId(){
var array_id = new Array("444","7888","6633","555","146562","3333","33332")
var tmp_id = document.form1.id.value;
var num=0;
while(1)
{
if(tmp_id ==... (9 Replies)
Hello.
I have written a bash script that I am sharing with an OS X community I am a member of. The purpose of the script is to execute a series of commands for members without them having to get involved with Terminal, as it can be daunting for those with no experience of it at all. I have renamed... (4 Replies)
Hi,
I want to convert a file that looks like this
>joe
XXXXXXXXXXXXXXXXXXX
>man
BBBBBBBBBBBBBBBBBBBBBSSSSSSSS
to something that looks like this (where the spacing is tab seperated)
joe XXXXXXXXXXXXXXXXXXX
man BBBBBBBBBBBBBBBBBBBBBSSSSSSSS
I am able to do the reverse but the other... (3 Replies)
Give shell script....which takes two file names as input and compares the contents, is both are same delete second file's contents.....
I try with "diff"...... but confusion how to use "diff" with if ---else
Thanking you (5 Replies)
Hi,
I want to delete the contents of a file which are matching with contents of other file in shell scripting.
Ex.
file1
sheel,sumit,1,2,3,4,5,6,7,8
sumit,rana,2,3,4,5,6,7,8,9
grade,pass,2,3,4,5,6,232,1,1
name,sur,33,1,4,12,3,5,6,8
sheel,pass,2,3,4,5,6,232,1,1
File2... (3 Replies)
Hi,
I am facing issue while reading data from a file in UNIX. my requirement is to compare two files and for the text pattern matching in the 1st file, replace the contents in second file by the contents of first file from start to the end and write the contents to thrid file.
i am able to... (2 Replies)
Dear All
I have 200 data files and each files has many duplicates.
I am looking for the automated awk script such that it checks and removes the duplicates from the each file and saving them as new files for all 200 files in the respective folder.
For example my data looks like this..
... (12 Replies)
Hi one of the output of the command is as below
# sed -n "/CCM-ResourceHealthCheck:/,/---------/{/CCM-ResourceHealthCheck:/d;/---------/d;p;}" Automation.OutputZ$zoneCounter | sed 's/$/<br>/'
Resource List : <br>
*************************** 1. row ***************************<br>
... (2 Replies)
Hello all,
I have a Kconfig file that looks like something below ...
================================
menu "Application type"
config GUI_TYPE_STANDARD
bool "Standard Application"
source "cfg/config/std.in"
source... (12 Replies)
Discussion started by: anand.shah
12 Replies
LEARN ABOUT DEBIAN
snowdrop
SNOWDROP(1) General Commands Manual SNOWDROP(1)NAME
sd-eng, sd-engf, sd-c - text watermarking and watermark recovery
SYNOPSIS
sd-eng [-6] -i origfile newfile "Recipient" ["Comment"]
sd-eng [-6] -e origfile newfile
sd-eng [-6] -l
DESCRIPTION
snowdrop is a stenographic text watermarking and watermark recovery system. It is composed of three programs:
sd-eng Watermark normal English text.
sd-engf
Watermark fine quality English text, yeilding higher quality output but encoding less information.
sd-c Watermark C code.
The three programs operate similarly, with the same parameters and usage. The watermark is encoded in using a number of techniques, such
as whitespace reformatting, typo insertation, word substitutions, punctuation changes, and for C code, logic reordering, variable name man-
gling, etc.
The watermark is a md5sum, which is retreivable from as little as 5 or 10 lines of the watermarked document. Even large changes to a medium
sized document should not obscure the watermark, as it is stored redundently in multiple independent channels.
The three usage modes are adding a watermark, checking for the presense of a watermark, and listing the contents of your database of water-
marks. Note that to later check a watermark, you must retain a copy of the original, un-watermarked file.
OPTIONS -i Inject a watermark into a file. You must pass it the original file, the filename to output the watwrmarked version to, information
about who you intend the watermarked file for, and an optional comment.
-e Extract a watermark from a file. Needs the original file and the new file that you suspect bears the watermark.
-l Lists the contents of the watermark database. Each of the three programs will have a different list.
-6 Enable 64 bit watermarking. The default is a weak 32 bit watermark.
ENVIRONMENT
SD_SYNONYMS
This variable can be used to point snowdrop at a customized synonyms file.
FILES
~/.snowdrop/database
Database of watermarked files.
SEE ALSO
/usr/share/snowdrop/README
Explain snowdrop in more depth, its limitations, and how to write additional watermarking modules for other tpyes of files.
AUTHOR
Michal Zalewski <lcamtuf@coredump.cx>
SNOWDROP(1)