12-01-2008
Also try putting the directory list to a file and look at it with "od" or "cat -v" or "vi" to find out the name of the file. I suspect you have a filename with a trailing "\" or some screen control sequence.
ls -la > directory.lst
5 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I've some files created by a script.
For some reason last time the script run was interrupted for an error and the files produced by the script are undeletable.
i've tryed as root with command 'rm' and even if i got no error in command execution the files are still there.
These are the... (9 Replies)
Discussion started by: mirrorx
9 Replies
2. Shell Programming and Scripting
Hi Friends,
I'm a great fan of this forum... it has helped me tone my skills in shell scripting. I have a challenge here, which I'm sure you guys would help me in achieving...
File A has a list of job ids and I need to compare this with the File B (*.log) and File C (extend *.log) and copy... (6 Replies)
Discussion started by: asnandhakumar
6 Replies
3. Shell Programming and Scripting
Hi,
I need to compare 2 text files with around 60000 rows and 1 column. I need to compare these and write the mismatch data to 3rd file.
File1 - file2 = file3
wc -l file1.txt
58112
wc -l file2.txt
55260
head -5 file1.txt
101214200123
101214700300
101250030067
101214100500... (10 Replies)
Discussion started by: Divya Nochiyil
10 Replies
4. Shell Programming and Scripting
Shell script logic
Hi
I have 2 input files like with file 1 content as (file1)
"BRGTEST-242" a.txt "BRGTEST-240" a.txt "BRGTEST-219" e.txt
File 2 contents as fle(2)
"BRGTEST-244" a.txt "BRGTEST-244" b.txt "BRGTEST-231" c.txt "BRGTEST-231" d.txt "BRGTEST-221" e.txt
I want to get... (22 Replies)
Discussion started by: pottic
22 Replies
5. OS X (Apple)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)
Discussion started by: dpontius
29 Replies
LEARN ABOUT DEBIAN
dpatch
DPATCH(7) dpatch DPATCH(7)
NAME
debian/patches/script.dpatch - self applying patch
SYNOPSIS
debian/patches/script.dpatch -patch [directory]
debian/patches/script.dpatch -unpatch [directory]
debian/patches/script.dpatch -pkg-custom [directory]
DESCRIPTION
A dpatch is a program that modifies the source tree in a given directory. How it does that is entirely up to the person writing it. It can
be a script that calls patch(1) with the appropriate options, a complicated perl script that does some deep magic, or anything else. The
only requirement is that it MUST accept the -patch and -unpatch options, followed by the destination (or working) directory, when speci-
fied. For the sake of compatibility, the second argument is only present when a working directory was explicitly set with dpatch --workdir.
For some of the dpatch(1) features to work, the script should follow a common style: there should be a line near the top of the file with
the following format: "filename -- author <email>". And one or more "# DP: description" lines. These will be used by dpatch cat for exam-
ple.
WARNING
dpatch is deprecated, please switch to the `3.0 (quilt)' Debian source package format instead. See http://wiki.debian.org/Projects/Deb-
Src3.0#FAQ for a short guide on how to do it.
EXAMPLES
One can find dpatch examples under /usr/share/doc/dpatch/examples/.
AUTHOR
This manual page was written by Gergely Nagy.
SEE ALSO
dpatch(1), dpatch.make(7), dpatch-edit-patch(1), dpatch-list-patch(1), dpatch-convert-diffgz(1)
DPATCH 2 Dec 13 2011 DPATCH(7)