Questions tagged as 'pipe'

1
answer

C linux: Simulate shell behavior with pipes

As the title indicates I am trying to perform an exercise to emulate the behavior of the shell in the execution of a sentence with the form comando1 argumento1 | comando2 argumento2 This program opens a pipe and creates a child by callin...
asked by 28.06.2018 / 13:21
2
answers

NgFor only supports binding to Iterables such as Arrays

Good morning, I am new at Angular2 and I have some problems with the use of Observables and components ERROR to be fixed    ERROR Error: Can not find a differ supporting object '[object Object]' of type 'object'. NgFor only supports bind...
asked by 13.11.2017 / 16:12
1
answer

Use int and char in pipes in c

Can whole numbers (int) and characters (char) be transmitted for the same pipe or do you need to create two different pipes? How would it be?     
asked by 14.01.2018 / 11:45
1
answer

thousands separator in angular 4

I'm using angle 4 and I want to be able to use a thousands separator pipe for example if the amount is 6000 that appears 6,000, if the amount is 60000 that appears 60,000 and so ... I tried to use some pipes but I can not find one that works...
asked by 07.02.2018 / 18:22
0
answers

how to create multiple processes in C and pipes pipe ()

hello will see I have my code that counts the amount of files in a directory and then returns the name of that file next to your md5sum, what happens is that my task says the following: The application should examine the contents of the "/...
asked by 19.12.2018 / 15:26
2
answers

Format Input text with dotted format in thousands and decimal places

I am trying to create a directive or other element that allows me to show formatted an input text as 12.345,67 and to enter the decimal point (,). Examples:    Thousand, formatted should be 1,000       Thousand with 53 decimals,...
asked by 18.05.2018 / 13:58
1
answer

redirect command output to the beginning of a file in bash

I'm doing a network configurator in bash, and I need to add several lines to the /etc/resolv.conf file. Doing echo "hola" » fichero.txt is added to the end, but how do I get it added to the start?     
asked by 06.05.2017 / 13:14
1
answer

parsing a text file with python

I am new to the platform and to the world of python. I would like to be able to make a small script in which I give a file.txt, which contains a text string separated by | , and for each | that there is a line break (I understand it would be...
asked by 19.11.2018 / 19:13
0
answers

How can I implement a pipe in ionic?

Hello, I am new to the ionic world and every time I find new concepts and ways of doing things, the fact is that I have a list of objects that I bring from an API and I want to filter the results by word, basically what What I want is: <io...
asked by 28.08.2018 / 16:49
0
answers

HTML Trusted or HTML Safe

I need to change the format to display an XML on the screen in Angular 2, and I found a script that works. I call said format-xml through a Pipe : import { Pipe, PipeTransform } from '@angular/core'; import * as jQuery from 'jq...
asked by 26.01.2018 / 13:56