12-10-2010
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 estado buscando pero no sé como hacerlo, alguiém me puede ayuda ?!
saludos y muchas gracias.
Oi, começei a fazer a faculdade de informática e tenho que fazer uns exercicios usando Cygwin.
Eu teho que abrir um arquivo .csv e selecionar as linhas que tenha valor 4 na terceira coluna e 2 na quarta coluna, e não sei como fazer.
alguém pode me ajudar ?
obrigado.
6 More Discussions You Might Find Interesting
1. HP-UX
Hola no escribo en ingles, pero si alguno puede ayudarme..
Quisiera saber si hay algun comando en unix que me permita hacer el mecanismo de montar el cassette a la unidad de dlt, asi como se que existe para que la expulse , quisiera saber si hay comando, que por decir la introduzca... (1 Reply)
Discussion started by: Kespinoza97
1 Replies
2. Shell Programming and Scripting
Hi
I have 2 files where i save the IP adress of many printers that work on UNIX, one of these files, which is the 'Main File', is on a server call PROD, and the other one is on a different server call Al.
What I want, is to make a comparison between the 2 files, and then, copy the IPs that... (4 Replies)
Discussion started by: Athlon1
4 Replies
3. Programming
Buenas, estoy intentando hacer lo siguiente:
Enviar un comando at a un telefono movil y recibir la respuesta para tratarla.
Algo estaré haciendo mal que usando open, write y read, solo consigo enviarle el comando pero no capturar la respuesta, solo aparece en pantalla por el terminal.
Asi que... (1 Reply)
Discussion started by: daaran
1 Replies
4. Shell Programming and Scripting
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
5. Shell Programming and Scripting
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
6. Shell Programming and Scripting
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
LEARN ABOUT MOJAVE
file::spec::cygwin5.18
File::Spec::Cygwin(3pm) Perl Programmers Reference Guide File::Spec::Cygwin(3pm)
NAME
File::Spec::Cygwin - methods for Cygwin file specs
SYNOPSIS
require File::Spec::Cygwin; # Done internally by File::Spec if needed
DESCRIPTION
See File::Spec and File::Spec::Unix. This package overrides the implementation of these methods, not the semantics.
This module is still in beta. Cygwin-knowledgeable folks are invited to offer patches and suggestions.
canonpath
Any "" (backslashes) are converted to "/" (forward slashes), and then File::Spec::Unix canonpath() is called on the result.
file_name_is_absolute
True is returned if the file name begins with "drive_letter:", and if not, File::Spec::Unix file_name_is_absolute() is called.
tmpdir (override)
Returns a string representation of the first existing directory from the following list:
$ENV{TMPDIR}
/tmp
$ENV{'TMP'}
$ENV{'TEMP'}
C:/temp
Since Perl 5.8.0, if running under taint mode, and if the environment variables are tainted, they are not used.
case_tolerant
Override Unix. Cygwin case-tolerance depends on managed mount settings and as with MsWin32 on GetVolumeInformation() $ouFsFlags ==
FS_CASE_SENSITIVE, indicating the case significance when comparing file specifications. Default: 1
COPYRIGHT
Copyright (c) 2004,2007 by the Perl 5 Porters. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.18.2 2014-01-06 File::Spec::Cygwin(3pm)