05-06-2010
Still not getting it to work 8 ( , this is driving me crazy lol
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am trying to edit multiple files from one directory and including all the files in all the sub directories. My string opens each file, puts the text on my screen and does not save the new information to the file. I am using a variable in my script, and wondering if that is what is choking it. ... (1 Reply)
Discussion started by: Skoshi
1 Replies
2. Solaris
hi guys,
We have to implement new local (/etc/default/login) USER security policy on almost 50 stations.
so editing /etc/default/login and /etc/default/passwd will be way too long work.
Can we do the same using some script, I mean editing the above files and putting variables as RETRIES=3, ... (5 Replies)
Discussion started by: Asteroid
5 Replies
3. Shell Programming and Scripting
hey guys,
I'm trying to call and modify multiple files inside the for loop, i can't get it to work...
------------------------
AFILE=/dir/a_file.txt
BFILE=/dir/b_file.txt
CFILE=/dir/c_file.txt
ADESTFILE=/dir/a_dest_file.txt
BDESTFILE=/dir/b_dest_file.txt... (6 Replies)
Discussion started by: DeuceLee
6 Replies
4. Shell Programming and Scripting
Hello Gyues!
I would like to use awk to perform data extraction from several files. The data files look like this:
DWT26R 1 PEP1 CA 1 OH2 SKIPPED: 0 STEP: 1
0.29000E+01 0.55005E-02 0.60012E-03
0.30000E+01 0.11149E+00 0.13603E-01
0.31000E+01 0.39719E+00 0.63013E-01
0.32000E+01... (9 Replies)
Discussion started by: Daniel8472
9 Replies
5. Shell Programming and Scripting
I have 1000's of directories which is named as numbers. Each directory contains multiple files. Each of these directories have a file named "att". I need to rename all the att files by adding the directory name followed by "_" then att for each of the directories.
Directories
120
att... (2 Replies)
Discussion started by: Lucky Ali
2 Replies
6. Shell Programming and Scripting
I have 150 files with 4 columns each but variable row lengths that I need to combine by column. I do not have any common column. I want to use "paste " command in unix to do it but before that I have to get all my files to be of equal length.
Is there a way using awk or sed to fill up n no. of... (7 Replies)
Discussion started by: manishabh
7 Replies
7. Shell Programming and Scripting
Hello everyone,
The following are my input files.
The following are my sequence of steps.
Can someone please let me know about how to make these bunch of steps into a single script so that I start the script with 1.txt and 2.txt, after execution gives me the final... (11 Replies)
Discussion started by: jacobs.smith
11 Replies
8. UNIX for Dummies Questions & Answers
Hi,
Can any gurus advise why :p is not working on my vi?
When editing multiple files, :n works and it takes me the next file, but :p which is supposed to take me back to the previous file does not work.
Please advise. Thanks in advance. (2 Replies)
Discussion started by: newbie_01
2 Replies
9. Shell Programming and Scripting
#!/bin/bash
#
name=$1
type=$2
number=1
for file in ./**
do
if
then
filenumber=00$number
elif
then
filenumber=0$number
fi
tempname="$name""$filenumber"."$type"
if (4 Replies)
Discussion started by: TheGreatGizmo
4 Replies
10. SuSE
Hi All,
I would need your assistance to make a bootable USB with SUSE LINUX Enterprise Server
I have already downloaded relevant OS (Trail Version) packages @
1) SLES-11-SP4-DVD-i586-GM-DVD1
2) SLES-11-SP4-DVD-i586-GM-DVD2
when I tried to open these packages with PowerISO one of the... (7 Replies)
Discussion started by: Leaner_963
7 Replies
LEARN ABOUT MINIX
dh_installdebconf
DH_INSTALLDEBCONF(1) Debhelper DH_INSTALLDEBCONF(1)
NAME
dh_installdebconf - install files used by debconf in package build directories
SYNOPSIS
dh_installdebconf [debhelperoptions] [-n] [--params]
DESCRIPTION
dh_installdebconf is a debhelper program that is responsible for installing files used by debconf into package build directories.
It also automatically generates the postrm commands needed to interface with debconf. The commands are added to the maintainer scripts by
dh_installdeb. See dh_installdeb(1) for an explanation of how that works.
Note that if you use debconf, your package probably needs to depend on it (it will be added to ${misc:Depends} by this program).
Note that for your config script to be called by dpkg, your postinst needs to source debconf's confmodule. dh_installdebconf does not
install this statement into the postinst automatically as it is too hard to do it right.
FILES
debian/package.config
This is the debconf config script, and is installed into the DEBIAN directory in the package build directory.
Inside the script, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands.
debian/package.templates
This is the debconf templates file, and is installed into the DEBIAN directory in the package build directory.
debian/po/
If this directory is present, this program will automatically use po2debconf(1) to generate merged templates files that include the
translations from there.
For this to work, your package should build-depend on po-debconf.
OPTIONS
-n, --no-scripts
Do not modify postrm script.
-- params
Pass the params to po2debconf.
SEE ALSO
debhelper(7)
This program is a part of debhelper.
AUTHOR
Joey Hess <joeyh@debian.org>
11.1.6ubuntu2 2018-05-10 DH_INSTALLDEBCONF(1)