hi
i have a very simple problem
iam moving files from download to archive folder
but before such a transfer want to make sure no two file of same
are present in my download directory
how to check for redundant file names
i thought of using WC but it counts inside the file (lines and... (5 Replies)
Hi all
pls help me by providing soln for my problem
I'm having a text file which contains duplicate records .
Example:
abc 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
abc 1000 3452 2463 2343 2176 7654 3452 8765 5643 3452
tas 3420 3562 ... (1 Reply)
Hi
Could you please help me out by solving teh below problem ?
I have a file with as below
source1|target1|yes
source2|target2|no
source1 is file in which i have to place some code under the <head> tag in it.
What code i have to place in source1 is something like this "abcd.....<target1>... (5 Replies)
Hi Everybody,
I have an unknown number of files that for some reason contain the ^Z character. I would need a command that helps me identifying these files.
Here is an example of a line:
JUAN HERN^ZNDEZ
I would greatly appreciate your help.
Thanks in advance,
Sebastian (3 Replies)
Hello!
Please, help me to write such script.
I have some text file with name filename.txt
I must check if this file contains string "test-string-first", I must cut from this file string which follows string "keyword-string:" and till first white-space and save it to some variable.
For... (3 Replies)
Hi
I have a text file with rows like this:
7 Herman ASI-40 Jungle (L) Blueprint (L) Weapon Herman ASI-40 Jungle (L) 215.00 57 65.21 114.41
and
9 Herman CAP-505 (L) Blueprint (L) Weapon Herman CAP-505 (L) 220.00 46.84 49.1 104.82
and
2 ClericDagger 1C blueprint Melee - Shortblade... (2 Replies)
Hello i a script:
#!/bin/sh
count=0
for iname in `cat mysong`
do
for cname in `cat mysong`
do
if
then
count=`expr $count + 1`
fi
done
echo "word: $iname - found in the text: $count times"
count=0
donethe proplem: how i... (2 Replies)
Dear All,
I have to reduce the redundancy of a file that is like this:
a b 0
a c 0
a f 1
b a 1
b a 0
b c 1
d f 0
g h 1
f d 1
Basically, this file describe a network with relative nodes and edges.
The nodes are the different letters and the edges are represented by the numbers (in... (7 Replies)
Dear all,
I want to find all the "," in my text file and then replace the commas to a tab. I found a script online but I don't know how to modify the script for my case. Any one can help? Thank you.
@echo off &setlocal
set "search=%1"
set "replace=%2"
set "textfile=Input.txt"
set... (2 Replies)
Discussion started by: forevertl
2 Replies
LEARN ABOUT CENTOS
ndisasm
NDISASM(1) The Netwide Assembler Project NDISASM(1)NAME
ndisasm - the Netwide Disassembler, an 80x86 binary file disassembler
SYNOPSIS
ndisasm [ -o origin ] [ -s sync-point [...]] [ -a | -i ] [ -b bits ] [ -u ] [ -e hdrlen ] [ -p vendor ] [ -k offset,length [...]] infile
DESCRIPTION
The ndisasm command generates a disassembly listing of the binary file infile and directs it to stdout.
OPTIONS -h
Causes ndisasm to exit immediately, after giving a summary of its invocation options.
-r|-v
Causes ndisasm to exit immediately, after displaying its version number.
-o origin
Specifies the notional load address for the file. This option causes ndisasm to get the addresses it lists down the left hand margin,
and the target addresses of PC-relative jumps and calls, right.
-s sync-point
Manually specifies a synchronisation address, such that ndisasm will not output any machine instruction which encompasses bytes on both
sides of the address. Hence the instruction which starts at that address will be correctly disassembled.
-e hdrlen
Specifies a number of bytes to discard from the beginning of the file before starting disassembly. This does not count towards the
calculation of the disassembly offset: the first disassembled instruction will be shown starting at the given load address.
-k offset,length
Specifies that length bytes, starting from disassembly offset offset, should be skipped over without generating any output. The skipped
bytes still count towards the calculation of the disassembly offset.
-a|-i
Enables automatic (or intelligent) sync mode, in which ndisasm will attempt to guess where synchronisation should be performed, by
means of examining the target addresses of the relative jumps and calls it disassembles.
-b bits
Specifies 16-, 32- or 64-bit mode. The default is 16-bit mode.
-u
Specifies 32-bit mode, more compactly than using '-b 32'.
-p vendor
Prefers instructions as defined by vendor in case of a conflict. Known vendor names include intel, amd, cyrix, and idt. The default is
intel.
RESTRICTIONS
ndisasm only disassembles binary files: it has no understanding of the header information present in object or executable files. If you
want to disassemble an object file, you should probably be using objdump(1).
Auto-sync mode won't necessarily cure all your synchronisation problems: a sync marker can only be placed automatically if a jump or call
instruction is found to refer to it before ndisasm actually disassembles that part of the code. Also, if spurious jumps or calls result
from disassembling non-machine-code data, sync markers may get placed in strange places. Feel free to turn auto-sync off and go back to
doing it manually if necessary.
SEE ALSO objdump(1)NASM 06/09/2014 NDISASM(1)