04-04-2014
I am not sure how you are calling the script...The command I have provided works file if it is run as it is on unix...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:confused: There is a flat file on my system which contains email addreses of people in my company. This file is utilized when sending notifications for various things. However nobody knows where this file is located or what it is named. The only thing we know is the email address of a user who... (4 Replies)
Discussion started by: kollerj
4 Replies
2. Shell Programming and Scripting
Hi,
suppose i have a txt file containing thye following data
2012156|sb3|nwknjps|BAYONNE|NJ|tcg
201221|094|mtnnjprc:HACKENSACK|NJ|tcg
201222|wn3|mtnnjtc|HACKENSACK|NJ|tcg
2018164|ik4|mtnntc|JERSEY CITY|NJ|tcg
20123482|ik4|mtnnjpritc,JERSEY CITY|NJ|tcg... (3 Replies)
Discussion started by: priyanka3006
3 Replies
3. Linux
Hi all,
I have a question..
Here is my requirement..I have 500 files in a path say /a/b/c
I have some numbers in a file which are comma seperated...and I wanted to check if the numbers are present in the FileName in the path /a/b/c..if the number is there in the file that is fine..but if... (1 Reply)
Discussion started by: us_pokiri
1 Replies
4. Shell Programming and Scripting
Hi Unix gurus,
I am trying to remove the filenames based on MMDDYYYY in the physical name as such so that the directory always has the recent 3 files based on MMDDYYYY. "HHMM" is just dummy in this case. You wont have two files with different HHMM on the same day.
For example in a... (4 Replies)
Discussion started by: shankar1dada
4 Replies
5. Shell Programming and Scripting
Hello all,
after spending hours of searching the web I decided to create an account here. This is my first post and I hope one of the experts can help.
I need to resolve a grep / sed / xargs / awk problem.
My input file is just like this:
----------------------------------... (6 Replies)
Discussion started by: bash4ever
6 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I am able to get next line if it is matching a particular pattern. But i need a way to skip if next line also matches same pattern..
For example:
No Records
No Records
Records found
got it
Records found
Now i want to find 'Records found' after 'No Records' pattern matches..
... (5 Replies)
Discussion started by: nagpa531
5 Replies
7. Shell Programming and Scripting
Hi,
I need help with this-
input.txt :
L B white
X Y white
A B brown
M Y black
Read this input file and if 3rd column is "white", then add specific lines to another file insert.txt.
If 3rd column is brown, add different set of lines to insert.txt, and so on.
For example, the given... (6 Replies)
Discussion started by: prashob123
6 Replies
8. Shell Programming and Scripting
Hi,
We've a list of files that gets created on a weekly basis and it has got a date and time embedded to it. Below are the examples. I want to find out how to get the latest files get the date and time stamp out of it.
Files are
PQR123.PLL.M989898.201308012254.gpg... (1 Reply)
Discussion started by: rudoraj
1 Replies
9. Shell Programming and Scripting
I need assistance with following requirement, I am new to Unix.
I want to do the following task but stuck with file creation date(sysdate)
Following is the requirement
I need to create a script that will read the abc/xyz/klm folder and look for *.err files for that day’s date and then send an... (4 Replies)
Discussion started by: PreetArul
4 Replies
LEARN ABOUT DEBIAN
dh_autoreconf
DH_AUTORECONF(1) dh-autoreconf DH_AUTORECONF(1)
NAME
dh_autoreconf - Call autoreconf -f -i and keep track of the changed files.
SYNOPSIS
dh_autoreconf [debhelper options] [-Xitem] [--mode=mode] [program -- params]
DESCRIPTION
dh_autoreconf is responsible for calling autoreconf and creating the files debian/autoreconf.before and debian/autoreconf.after which
contain checksums of all files before/after the build. It is complemented by dh_autoreconf_clean which creates a list of all changed and
added files and removes them.
Please note that dh_autoreconf can only be run once. Thus, if you need to run multiple commands, use a script or similar. An example is
given in dh-autoreconf(7).
FILES
debian/autoreconf
This file can contain a list of directories. If present, dh_autoreconf will only scan the given directories for changes. If no special
command is given to dh_autoreconf, it will also forward the directory list to autoreconf which causes it to be run only on those sub
directories.
OPTIONS
-Xitem --exclude=item
Exclude files that contain "item" anywhere in their filename from being checked for changes. This means that those files won't be
deleted by "dh_autoreconf_clean" even if there are changes. You may use this option multiple times to build up a list of things to
exclude.
Starting with version 3, the directories of common version control systems such as cvs, git, hg, svn, and bzr are excluded
automatically.
--mode=mode
Change the way in which modifications to files are detected. The default mode is md5 for using MD5 checksums, but there is also
timesize for using the time of the last modification and the file size.
--as-needed
Enable support for -Wl,--as-needed in all ltmain.sh files identical to the one of the libtool package. This only works in the MD5 mode
(the default one). The changes are reverted in dh_autoreconf_clean. You should not prevent LIBTOOLIZE from running with this, as it
only works correctly with libtoolize running.
program -- params
Run the program given by program with the arguments given by params instead of autoreconf -f -i. If you need to run multiple commands,
put them in a script and pass the script instead (or add a target to debian/rules).
ENVIRONMENT
For each tool executed by autoreconf(1), one can export a variable with the uppercase name of the tool to the specific program which shall
be run, including true to prevent the tool in question from being run. The following example shows the beginning of a debian/rules for a
package where automake 1.10 shall be run instead of the default automake version and libtoolize shall not be run:
#!/usr/bin/make -f
export AUTOMAKE = automake1.10
export LIBTOOLIZE = true
SEE ALSO
debhelper(7), dh_autoreconf_clean(1), dh-autoreconf(7)
AUTHOR
Julian Andres Klode <jak@debian.org>
dh-autoreconf v7 2012-11-22 DH_AUTORECONF(1)