9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
This situation is extracted from a larger context. My intention for now is to escape the forward slashes in the path of a filename. (Ultimately the LINEs will come from a file.)
while read LINE ; do
sed 's/\//\\\//g' <<< "$LINE" # ok
escaped=`sed 's/\//\\\//g' <<< "$LINE"` #... (12 Replies)
Discussion started by: Ralph
12 Replies
2. Solaris
Hello,
I've just started using a Solaris machine with SunOS 5.10.
After the machine is turned on, I open a Console window and at the prompt, if I execute a pwd command, it tells me I'm at my home directory (someone configured "myuser" as default user after init).
... (2 Replies)
Discussion started by: egyassun
2 Replies
3. Shell Programming and Scripting
1. increase file space
first, double space a file:
awk '1;{print ""}'
I probably can understand it:print a blank line every time.But when I read triple space a file I am confused:
awk '1;{print "\n"}'
doesn't it meaning print a blank line every time too?
2. number each line of file, but... (6 Replies)
Discussion started by: hhdzhu
6 Replies
4. Shell Programming and Scripting
Hi,
I ran a script named cat item
when I searched for this script using command PS
I get two process . I don't understand this. Also this script has run for 15 minutes but the time is showing as 0:00:confused::confused:
ps -ef | grep cat_item
catmgr 4508 4486 0 05:10:29 ? 0:00... (5 Replies)
Discussion started by: TomG
5 Replies
5. Linux
I am using a Pentium III and I want to change my cpu, which is better (AMD or dual core processor) for linux operating system.
Thanks in advance for any help. (1 Reply)
Discussion started by: billcrosby
1 Replies
6. Shell Programming and Scripting
Hi,
I am a little bit confusing of using find command.
Actually, I am planning to delete the files whatever the files are existing in the day before yesterday. So, I am writing the command like this.
find . -name "*.txt" -ctime -2 { here I am confusing, if I will use +2 or +1 also I am... (5 Replies)
Discussion started by: nagraju.allam
5 Replies
7. Shell Programming and Scripting
Hiii... There...
I am making a Script in which I am taking the value of a variable "var"
through key board.
But I want, if no values are supplied for "var" for more than 5 seconds then script shuld automatically exit.Script is as follow :
#cat abc
#!/bin/bash
echo "Enter Your Choice : "... (4 Replies)
Discussion started by: prashantshukla
4 Replies
8. Shell Programming and Scripting
Hi all,
Just subscribed to this forum. Not a regular user of Unix.:)
I did the following:
We have a directory structure /a/b/c5/
Where c5 is the only directory inside b.
export ANOOP=/a/b/c*/
echo $ANOOP=/a/b/c5/
I have to create a symbolic link to anoop.txt in the directory... (2 Replies)
Discussion started by: Pankajakshan
2 Replies
9. Solaris
Hi All,
Very need help about format syntax on solaris 10.
I have done install Solaris 10 OS on sun fire v245 but currently i have a problem to use "format" command to display partition info for my hard drive.
i cannot enter the format menu, below is captured display :
# format
Searching... (7 Replies)
Discussion started by: bucci
7 Replies
DH_INSTALLCHANGELOGS(1) Debhelper DH_INSTALLCHANGELOGS(1)
NAME
dh_installchangelogs - install changelogs into package build directories
SYNOPSIS
dh_installchangelogs [debhelperoptions] [-k] [-Xitem] [upstream]
DESCRIPTION
dh_installchangelogs is a debhelper program that is responsible for installing changelogs into package build directories.
An upstream changelog file may be specified as an option.
If there is an upstream changelog file, it will be installed as usr/share/doc/package/changelog in the package build directory.
If the upstream changelog is an html file (determined by file extension), it will be installed as usr/share/doc/package/changelog.html
instead. If the html changelog is converted to plain text, that variant can be specified as a second upstream changelog file. When no plain
text variant is specified, a short usr/share/doc/package/changelog is generated, pointing readers at the html changelog file.
FILES
debian/changelog
debian/NEWS
debian/package.changelog
debian/package.NEWS
Automatically installed into usr/share/doc/package/ in the package build directory.
Use the package specific name if package needs a different NEWS or changelog file.
The changelog file is installed with a name of changelog for native packages, and changelog.Debian for non-native packages. The NEWS
file is always installed with a name of NEWS.Debian.
OPTIONS
-k, --keep
Keep the original name of the upstream changelog. This will be accomplished by installing the upstream changelog as changelog, and
making a symlink from that to the original name of the changelog file. This can be useful if the upstream changelog has an unusual
name, or if other documentation in the package refers to the changelog file.
-Xitem, --exclude=item
Exclude upstream changelog files that contain item anywhere in their filename from being installed.
upstream
Install this file as the upstream changelog.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLCHANGELOGS(1)