Sponsored Content
Top Forums Shell Programming and Scripting Comparar 2 archivos y agregas lineas faltantes Post 302338743 by Athlon1 on Tuesday 28th of July 2009 07:23:05 PM
Old 07-28-2009
There it is, I Hope is Ok.

Thanx
 

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
LIBGEARMAN(3)							     Gearmand							     LIBGEARMAN(3)

NAME
libgearman - Gearmand Documentation, http://gearman.info/ SYNOPSIS
#include <libgearman/gearman.h> Link -lgearman DESCRIPTION
libgearman is a small, thread-safe client library for the gearman protocol. The code has all been written with an eye to allow for both web and embedded usage. It handles the work behind routing particular keys to specific servers that you specify (and values are matched based on server order as supplied by you). It implements both the client and worker interfaces. All operations are performed against either a client, ie gearman_client_st or worker, ie gearman_worker_st. Client and Worker structures can either be dynamically allocated or statically allocated. They must then b initialized by gear- man_client_create() or gearman_worker_create(). Functions have been written in order to encapsulate all structures in the library. It is recommended that you do not operate directly against the structure. Nearly all functions return a gearman_return_t value. This value can be translated to a printable string with gearman_strerror(). gearman_client_st and gearman_worker_st structures are thread-safe, but each thread must contain its own structure (that is, if you want to share these among threads you must provide your own locking). No global variables are used in this library. If you are working with GNU autotools you will want to add the following to your configure.ac to properly include libgearman in your appli- cation. PKG_CHECK_MODULES(DEPS, libgearman >= 0.8.0) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) Hope you enjoy it! CONSTANTS
A number of constants have been provided for in the library. GEARMAN_DEFAULT_TCP_PORT The default port used by gearmand(3). GEARMAN_DEFAULT_TCP_PORT The default service used by gearmand(3). LIBGEARMAN_VERSION_STRING String value of the libgearman version such as "0.20.4" LIBGEARMAN_VERSION_HEX Hex value of the version number. "0x00048000" This can be used for comparing versions based on number. GEARMAN_UNIQUE_SIZE Largest number of characters that can be used for a unique value. GEARMAN_JOB_HANDLE_SIZE Largest number of characters that can will be used for a job handle. Please see gearman_job_handle_t for additional information. THREADS AND PROCESSES
When using threads or forked processes it is important to keep an instance of gearman_client_st or gearman_worker_st per process or thread. Without creating your own locking structures you can not share a single gearman_client_st or gearman_worker_st. HOME
To find out more information please check: https://launchpad.net/libgearman SEE ALSO
gearmand(8) libgearman_examples(3) AUTHOR
Data Differential http://www.datadifferential.com/ COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/ 0.33 May 04, 2012 LIBGEARMAN(3)
All times are GMT -4. The time now is 08:39 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy