Sponsored Content
Full Discussion: Can someone help me?
Top Forums Shell Programming and Scripting Can someone help me? Post 302172807 by monicasgupta on Tuesday 4th of March 2008 04:44:45 PM
Old 03-04-2008
Can someone help me?

Dear friends,

My ETL is generating 10-15 files per day based on incoming values for the Product IDs. Someone has posted solution for on file but I need it for multiple files.

Following is the example of one file, i want to remove 1st columns from all the files in this folder,

example

File Name : ProductCIN.txt
Data:
23478 DFG XCV ERT 12
23478 DFG CBN EDC 18
34599 XDS EDF ERT 10
98789 SER FGH RGS 23

Convert to

DFG XCV ERT 12
DFG CBN EDC 18
XDS EDF ERT 10
SER FGH RGS 23
for all the files.

thanks
Monica
 
DH_UCF(1)							     Debhelper								 DH_UCF(1)

NAME
dh_ucf - register configuration files with ucf SYNOPSIS
dh_ucf [debhelperoptions] [-A] [-n] [file...] DESCRIPTION
dh_ucf is a debhelper program that is responsible for generating the postinst and postrm commands that register files with ucf(1) and ucfr(1). FILES
debian/package.ucf List pairs of source and destination files to register with ucf. Each pair should be put on its own line, with the source and destination separated by whitespace. Both source and destination must be absolute paths. The source should be a file that is provided by your package, typically in /usr/share/, while the destination is typically a file in /etc/. A dependency on ucf will be generated in ${misc:Depends}. OPTIONS
-A, --all Install all files specified by command line parameters in ALL packages acted on. -n, --no-scripts Do not modify postinst/postrm scripts. Turns this command into a no-op. file ... Install these info files into the first package acted on. (Or in all packages if -A is specified). NOTES
Note that this command is not idempotent. dh_prep(1) should be called between invocations of this command. Otherwise, it may cause multiple instances of the same text to be added to maintainer scripts. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> Jeroen Schot <schot@a-eskwadraat.nl> 11.1.6ubuntu2 2018-05-10 DH_UCF(1)
All times are GMT -4. The time now is 11:53 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy