Sponsored Content
Top Forums Shell Programming and Scripting Comparar 2 archivos y agregas lineas faltantes Post 302338747 by Athlon1 on Tuesday 28th of July 2009 07:50:46 PM
Old 07-28-2009
Thanx a lot man!!!, it works perfectly.

See ya.
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Eliminar lineas con ******

Hola. Tengo un problema. En un archivo tengo distintos campos y en alguno de ellos y en alguna linea me aparecen ******. ej: hola 0.1 ****** 85 adios 1.2 9650 23 gracias 2 ****** 54 bye 87 5666 89 hi ... (1 Reply)
Discussion started by: kekaes
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

3. Shell Programming and Scripting

Eliminar lineas con SED en Bash?

Hola a todos les cuento que estoy haciendo un programa en bash y queria saber como puedo hacer para borrar lineas de un documento de las palabras que NO terminen en S con SED, es decir, mostrar solamente las que terminan con la letra S. les cuento que probe con: sed -e /$.*/d "$archivo" |... (1 Reply)
Discussion started by: adiegorpc
1 Replies

4. Shell Programming and Scripting

Ordenar Carpetas o Archivos

Hola tengo el siguiente script #!bin/bash cd $1 ls -lS $1 Me muestra de orden por tamaño de archivos de mayor a menor ./miscript.sh /root por ejmplo. Como puedo asignarle si al final de comando ponga -d me mustre solos las carpetas o si es -a me muestre los documentos. ./miscript.sh... (1 Reply)
Discussion started by: krlos07
1 Replies

5. Shell Programming and Scripting

Comando seleccionar(selecionar) lineas(Linhas)

Hola, he empezado la carrera de informática y tengo que hacer uno ejercicios con Cygwin ( mismos comandos que UNIX ). Y en el ejercicio me dice que tengo que abrir un archivo .csv y que selecione las lineas en que en la tercera columna el valor sea 4 y en la cuarta columna el valor sea 2, he... (1 Reply)
Discussion started by: mcanhizares
1 Replies
enable(8)						      Easy Software Products							 enable(8)

NAME
disable, enable - stop/start printers and classes SYNOPSIS
disable [ -E ] [ -c ] [ -h server ] [ -r reason ] destination(s) enable [ -E ] destination(s) DESCRIPTION
enable starts the named printers or classes. disable stops the named printers or classes. The following options may be used: -c Cancels all jobs on the named destination. -r [ reason ] Sets the message associated with the stopped state. If no reason is specified then the message is set to "Reason Unknown". The -E option forces encryption when connecting to the server. COMPATIBILITY
The CUPS versions of disable and enable may ask the user for an access password depending on the printing system configuration. This dif- fers from the System V versions which require the root user to execute these commands. SEE ALSO
accept(8), cancel(1), lp(1), lpadmin(8), lpstat(1), reject(8), CUPS Software Administrators Manual, http://localhost:631/documentation.html COPYRIGHT
Copyright 1993-2002 by Easy Software Products, All Rights Reserved. 23 January 2001 Common UNIX Printing System enable(8)
All times are GMT -4. The time now is 04:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy