Sponsored Content
Full Discussion: How does pipe work?
Top Forums UNIX for Dummies Questions & Answers How does pipe work? Post 302268587 by siba.s.nayak on Tuesday 16th of December 2008 01:53:18 AM
Old 12-16-2008
Here A must finish before B starts. Because The output of A is the input for B.
 

10 More Discussions You Might Find Interesting

1. Linux

By angle-brackets/"pipe" button doesn't work?

How can I configure it? I have a swedish keyboard with swedish keyboard setting. Everything works perfectly (едц) except that button. What can be wrong? /Richard ++ NOTE: It seems like the computer notices the input but that the button isn't assigned to anything (the keyboard-cursor stops).... (1 Reply)
Discussion started by: riwa
1 Replies

2. UNIX for Dummies Questions & Answers

Script doesn't work, but commands inside work

Howdie everyone... I have a shell script RemoveFiles.sh Inside this file, it only has two commands as below: rm -f ../../reportToday/temp/* rm -f ../../report/* My problem is that when i execute this script, nothing happened. Files remained unremoved. I don't see any error message as it... (2 Replies)
Discussion started by: cheongww
2 Replies

3. Shell Programming and Scripting

How to Avoid intermediate files when pipe does nt work

problem with piping one output to another.Would like to avoid the intermediate file creation.The piping does nt work on places where files have been created and goes in an endless loop. sed -e "s/^\.\///g" $LINE1| sed -e "s/_\(\)/kkk\1/g" > $file1 tr -s '_' ' ' < $file1| \ sort -n -k... (1 Reply)
Discussion started by: w020637
1 Replies

4. Shell Programming and Scripting

awk's getline < "-" seems not work for pipe

Hi all, I have an gawk script to get user's input, So I use getline name < "-" (or getline name < "/dev/stdin") in my script They both work fine when my script deals with files. But it is broken for pipes. When I try "some command | my awk script", the variable name just gets an empty... (17 Replies)
Discussion started by: qiulang
17 Replies

5. Shell Programming and Scripting

Replace pipe with Broken Pipe

Hi All , Is there any way to replace the pipe ( | ) with the broken pipe (0xA6) in unix (1 Reply)
Discussion started by: saj
1 Replies

6. Shell Programming and Scripting

pipe to grep doesn't work in bash script

Hi, I'm trying to write a script that checks gvfs to see if a mount exists so I can run it from network-manager's status hooks. I thought I'd pipe the output of gvfs-mount -l to grep for the particular mounts I care about. When I do this in a bash script: cmnd="gvfs-mount -l | grep -i... (4 Replies)
Discussion started by: kcstrom
4 Replies

7. Shell Programming and Scripting

How to ignore Pipe in Pipe delimited file?

Hi guys, I need to know how i can ignore Pipe '|' if Pipe is coming as a column in Pipe delimited file for eg: file 1: xx|yy|"xyz|zzz"|zzz|12... using below awk command awk 'BEGIN {FS=OFS="|" } print $3 i would get xyz But i want as : xyz|zzz to consider as whole column... (13 Replies)
Discussion started by: rohit_shinez
13 Replies

8. Shell Programming and Scripting

Why does bc work with 'here string' and not via pipe in this example?

Hi! I actually got it running, but I still would like to understand, why and how, since I am a beginner in bash scripting. I Need floating numbers and thus use bc in my bash script. Here it is: #!/bin/bash num1="10^-15" | bc -l #power function piped to bc - DOES NOT WORK echo $num1... (4 Replies)
Discussion started by: McHale
4 Replies

9. Shell Programming and Scripting

Would pipe work better with this command

Hi again, have a script that I would like run, but before I can run it I need to strip out the windows \r end of lines. I have put the command into a text file and set the command to run every 10 seconds the coomand I use to do this is while sleep 10; do... (15 Replies)
Discussion started by: Paul Walker
15 Replies

10. IP Networking

Discussion at work, would a router work pluging a cable in wan1 and lan1?

hi all. and sorry for the random question, but this sparkled a raging flame-war at work and i want more points of view situation a router, with linux of some sort, dhcp client requesting for ip in wan1 (as usual with wan ports) dhcp server listening in lan1, and assigning ip (as usual... (9 Replies)
Discussion started by: broli
9 Replies
LCALC(1)							   User Commands							  LCALC(1)

NAME
lcalc - program for calculating with L-functions SYNOPSIS
lcalc [OPTIONS]... DESCRIPTION
lcalc 1.11 Feb 5, 2008 This program computes zeros and values of L-function. -h, --help Print help and exit -V, --version Print version and exit -v, --value compute L-function at x+iy. Should be used in conjuction with x and y options (default=off) -x, --x=Double Used with value,value-line-segment, and zeros-interval options (default=`.5') -y, --y=Double Used with value,value-line-segment, and zeros-interval options (default=`0') --value-file=filename compute L-function at points specified in file --value-line-segment compute L-function along a line segment connecting (x,y) to (X,Y) at number-sample points (default=off) -X, --X=Double Used with value-line-segment (default=`.5') -Y, --Y=Double Used with value-line-segment (default=`100') -n, --number-samples=INT Used with value-line-segment, and interpolate options (default=`1000') -z, --zeros=INT number of zeros to find -Z, --zeros-interval number of zeros to find in an interval (1/2+ix,1/2+iy) using steps of size stepsize. Use with the x,y, and stepsize options (default=off) --stepsize=Double Used with zeros-interval -d, --derivative=INT compute derivative. use -d -1 to specify logarithmic derivative. -e, --elliptic-curve specify an elliptic curve over Q. Use with the a1 a2 a3 a4 a6 options (default=off) --a1=rational_number Used with the elliptic-curve option --a2=rational_number Used with the elliptic-curve option --a3=rational_number Used with the elliptic-curve option --a4=rational_number Used with the elliptic-curve option --a6=rational_number Used with the elliptic-curve option -F, --file-input=filename input a file with basic L-function data -u, --url=url input a web based file with basic L-function data. Specify the url of the file -i, --interpolate=filename2 interpolate between two L-functions and find their zeros. Should be used in conjunction with file-input -C, --output-character=STRING if twisting, output the character (possible values="1", "2" default=`1') -o, --output-data=number Dirichlet coeffs output basic data for the underlying L-function (default=`10') --verbose=INT verbosity > 0 outputs extra info (default=`0') -P, --precision=INT number digits precision (default=`14') -S, --sacrifice=INT number digits to sacrifice (default=`2') -r, --rank-compute compute the rank (default=off) --rank-verify=INT verify if specified rank is correct -l, --rank-limit=INT when doing quadratic twists limit to L-functions with specified rank -t, --tau Ramanujan tau L-function (weight 12, full level) (default=off) -q, --twist-quadratic twist by fundamental quadratic characters, start <= discriminant <= finish. Use with start and finish options. (default=off) -s, --start=integer Used with various twisting options -f, --finish=integer Used with various twisting options. Default has finish=start --twist-quadratic-even twist by fundamental quadratic characters, even functional eqn, start <= discriminant <= finish (default=off) -p, --twist-primitive twist by all primitive Dirichlet characters with start <= conductor <= finish. For L-functions with complex Dirichlet coefficients, conjugate characters are considered equaivalent (default=off) -A, --twist-all twist by all Dirichlet characters with start <= conductor <= finish. (default=off) -a, --twist-all-no-conj-pairs twist by all Dirichlet characters with start <= conductor <= finish. For L-functions with complex Dirichlet coefficients, conjugate pairs of characters are considered equivalent (default=off) -c, --twist-complex-no-conj-pairs twist by all complex primitive Dirichlet characters with start <= conductor <= finish. For L-functions with complex Dirichlet coefficients, conjugate pairs of characters are considered equivalent (default=off) -g, --twist-generic twist by a generic complex Dirichlet characters with start <= conductor <= finish. (default=off) -D, --degree=degree can only be used in conjuction with twist-primitive (?). Select characters of specified degree. Not yet implemented SEE ALSO
The full documentation for lcalc is maintained as a Texinfo manual. If the info and lcalc programs are properly installed at your site, the command info lcalc should give you access to the complete manual. lcalc 1.11 Feb 5, 2008 May 2008 LCALC(1)
All times are GMT -4. The time now is 06:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy