Sponsored Content
Top Forums Shell Programming and Scripting Insertar saltos de pagina en un fichero Post 302365950 by vgersh99 on Wednesday 28th of October 2009 11:43:26 AM
Old 10-28-2009
Code:
nawk '{gsub("C\\$", "\f&");print}' myFile

 

2 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Necesito la fecha de creacion, modificacion y ultimo acceso de un fichero!

Hola, no se casi nada de linux pero tengo que hacer un tp para la facultad, y uno de los puntos me pide que muestre en pantalla la fecha de creacion , modificacion y ultimo acceso de un fichero pasado por parametro a un script.:confused: Alguien me ayuda!? gracias. (1 Reply)
Discussion started by: palitodlselva
1 Replies

2. Shell Programming and Scripting

Dividir fichero en numero de lineas

Hola, Estoy haciendo un script y queria de un archivo por ejemplo de 650 lineas, recortarlo y hacer archivos mas pequeños de 100 lineas, y que me salieran 7 archivos, por poner un ejemplo. No tengo ni idea de hacerlo la verdad....xD Un saludo y gracias! (3 Replies)
Discussion started by: uri_crack
3 Replies
DH_INSTALLDEB(1)						     Debhelper							  DH_INSTALLDEB(1)

NAME
dh_installdeb - install files into the DEBIAN directory SYNOPSIS
dh_installdeb [debhelperoptions] DESCRIPTION
dh_installdeb is a debhelper program that is responsible for installing files into the DEBIAN directories in package build directories with the correct permissions. FILES
package.postinst package.preinst package.postrm package.prerm These maintainer scripts are installed into the DEBIAN directory. Inside the scripts, the token #DEBHELPER# is replaced with shell script snippets generated by other debhelper commands. package.triggers package.shlibs These control files are installed into the DEBIAN directory. package.conffiles This control file will be installed into the DEBIAN directory. In v3 compatibility mode and higher, all files in the etc/ directory in a package will automatically be flagged as conffiles by this program, so there is no need to list them manually here. package.maintscript Lines in this file correspond to dpkg-maintscript-helper(1) commands and parameters. Any shell metacharacters will be escaped, so arbitrary shell code cannot be inserted here. For example, a line such as "mv_conffile /etc/oldconffile /etc/newconffile" will insert maintainer script snippets into all maintainer scripts sufficient to move that conffile. A versioned Pre-Dependency on dpkg is needed to use dpkg-maintscript-helper(1). An appropriate Pre-Dependency is set in ${misc:Pre-Depends} ; you should make sure to put that token into an appropriate place in your debian/control file. SEE ALSO
debhelper(7) This program is a part of debhelper. AUTHOR
Joey Hess <joeyh@debian.org> 9.20120909 2011-09-12 DH_INSTALLDEB(1)
All times are GMT -4. The time now is 02:03 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy