Search Results

Search: Posts Made By: gsal
Forum: Programming 06-22-2011
9,582
Posted By gsal
Here are a few pointers... A common block is...
Here are a few pointers...

A common block is supposed to be that, common...so, if you only specify one of them, there is typically no need for it, in the first place.

What makes a common block...
2,798
Posted By gsal
I just found something somewhere else...don't...
I just found something somewhere else...don't quite understand it, but here it is


trap 'kill $!; exit 1' INT QUIT TERM

if [[ -t 0 ]] ; then
$cmd $*
else
tee...
2,798
Posted By gsal
Hhhmmm...that is not exactly what I am asking. ...
Hhhmmm...that is not exactly what I am asking.

Let's say that the short script you show above is named "prog"...can you type

prog < infile > outfile

at the command line and works? I don't...
2,798
Posted By gsal
re-direction
Say I have a single bin directory with Linux and SunOS executables, like this:

bin/myprog_lnx
bin/myprog_sun

Assume these programs read from stdin and write to stdout and, thus, are meant to...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy