Sponsored Content
Full Discussion: Question about I/O sources
Top Forums UNIX for Dummies Questions & Answers Question about I/O sources Post 302750929 by Yoda on Thursday 3rd of January 2013 12:38:23 AM
Old 01-03-2013
Standard input (stdin) normally comes from your keyboard. Many programs ignore stdin.

E.g. cat filename never reads its standard input; it reads the files directly. But without file names on the command line, UNIX commands that need input will usually read stdin.

Standard input normally comes from your keyboard, but the shell can redirect stdin from a file. This is handy for UNIX commands that can't open files directly.

E.g. mail user@domain.com < filename. To mail a file use < filename to tell the shell to attach the file, instead of your keyboard, to mail's standard input.

sed can read file directly, so no need to redirect stdin from a file. I hope this helps.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

unix sources

hello, i'm looking for the sources of the old, original unices (v3 preferred). could someone point a link? (2 Replies)
Discussion started by: fdarkangel
2 Replies

2. UNIX for Dummies Questions & Answers

Sources for Raid Information

All, I have worked with UNIX for quite a while but never with raid. My section has just taken control of 3 servers each with different configurations and all running raids. My question for everyone is can you recommend any books that I can purchase or web sites that deal specifically with how to... (1 Reply)
Discussion started by: 3grls=1hd8
1 Replies

3. Linux

Kernel sources

I"m installing my ATI card in FC4. I'm going off of instructions that i've found. The firs step says that i need my kernel sources which i've got then it says that i've gotta unpack them so i can make links to the file later. My kernel sources that i've got are .src.rpm I've installed them but... (1 Reply)
Discussion started by: byblyk
1 Replies

4. Linux

Makefile with sources in diferent folders

Hi guys! I have a problem to create a makefile when using 2 types of sources. Suppose we have sources at master_source folder: - 1.c - 2.c and also we have sources at platform_source folder: - 1.c I really need to use platform_source folder because there is many of them (one folder with... (8 Replies)
Discussion started by: borzh62
8 Replies

5. SuSE

FAILED during patching kernel sources

Hi all. I have an issue with kernel patching. My system: OpenSuse 10.2, kernel version: 2.6.18.2. I've downloaded the patch from kernel.org - 2.6.26. I've invoked the following command: "patch -p1 -f < patch-2.6.26" (-f - because some files are not exist. to automatically skip this issues).... (2 Replies)
Discussion started by: Vourhey
2 Replies

6. News, Links, Events and Announcements

Are the UnixWare 7.1.1 sources available?

So, I was browsing groklaw.net, and I was surprised to read that Pamela Jones was reading the copyright notices in the UnixWare 7.1.1 source code files... Groklaw - Santa Cruz Listed Novell as Owning the Copyrights in 1999 How can that be? Are the UnixWare 7.1.1 sources available to the... (1 Reply)
Discussion started by: pepinox
1 Replies

7. Solaris

Building OpenSolaris from sources

Everyone knows the project LFS (Linux from scratch), it is a book-assembly instructions GNU / Linux from source code. I managed to gather, then my knowledge of GNU / Linux grew, learned many new commands, edit config-files, base packages, kernel, etc. .. Now I would like also to explore... (0 Replies)
Discussion started by: Geekon
0 Replies

8. Debian

Repositories in sources.list

I'm just interested to know how your sources.list look like. I got some repositories witch give some errors and I would like to clean it up. and when I do apt-get update I get few lines showing errors like 404 , this is how my list look like: # deb cdrom:/ squeeze main # deb cdrom:/... (0 Replies)
Discussion started by: zdorian
0 Replies

9. Programming

Can anyone provide some sources about bank IT

I am working in IT company working for banks.I find hardly to get technology about bank IT on the internet.Consider banks all using Unix, I think I can get some help here. Recommend some sits or books about bank IT will be very helpful!! (0 Replies)
Discussion started by: hhdzhu
0 Replies
GPIV_SMOOTH(1)						      General Commands Manual						    GPIV_SMOOTH(1)

NAME
gpiv_smooth - Image smoothing program for PIV images. SYNOPSIS
gpiv_smooth [-h | --help] [-p | --print] [-o N | --operation N] [-w N] [-v | --version] [filename] < stdin > stdout DESCRIPTION
gpiv_smooth set each pixel value equal to the mean within a window and eventually subtracts, adds, mulriplies or divides the mean value. The parameters read from the configuration resources (containing the key GPIV_IMGPROC) may be overruled by the command line options, as explained below. Options -h | --help On-line help -o N | --operation N Set pixel equal to the mean of the window value (N0), subtract mean from from pixel (N1) add (N2), multiply (N3) or divide (N4) -v | --version Print version information on standard output, then exit successfully. -w N window size (default: 15) filename Input image filename. Overrides stdin and stdout with the full filename of the image. Output will be written to filename.png. Param- eters are stored in filename.par and may be used for future use by including them in ./gpivrc. If stdin and stdout are used, the input is expected to be a PNG formatted image. SEE ALSO gpivtools AUTHOR
Gerber Van der Graaf 7 November 2006 GPIV_SMOOTH(1)
All times are GMT -4. The time now is 04:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy