It always seemed to me that these utils are siblings.
All they do are that substitute values for variables, rearrange the parameters, and confuse the input with the output.
I tried to display their main signature in table together. To show their similarities
My script has the following for loop in it.
foreach id (CLKM4 DGTM4 GNNM4)
eval echo $id \$${id}sf \$${id}sfk
end
so "id" is a variable defined in the loop, and "idsf" and "idsfk" are variables defined in another part of the script, they return values of 0 or more. The problem i'm... (2 Replies)
Hi All,
I'm running some encrypted data through a script I wrote. In order to do this, I'm using eval to resolve some of my variables. At the moment, when I use eval to resolve, it strips out some of my encrypted values, and totally drops some others. For example if I have the value ab1"3 it drops... (1 Reply)
Bit of a weird one i suppose, i want to use an echo inside an echo... For example...
i have a script that i want to use to take users input and create another script. Inside this script it creates it also needs to use echos...
echo "echo "hello"" >$file
echo "echo "goodbye"" >$file
... (3 Replies)
So, I'm looking over /proc/cpuinfo and have a question... I've read that "siblings" refers to hyperthreading, but that seems odd considering the contents of cpuinfo. Here's a part:
model name : Intel(R) Xeon(R) CPU E5410 @ 2.33GHz
physical id : 0
siblings : 4
core... (1 Reply)
Hi:
how come this command does not work? the error message is:
xargs: cd: No such file or directory
yet, in the same time, 'echo dir_path | xargs ls' works.
Does it work in bash? We use csh.
Thanks.
NB Phil (7 Replies)
my command deletes the oldest file from a folder and I'd like to have some type of output when the file is selected or deleted.
ls -t -1 | tail -n 1 | xargs rm
I'm not sure how to incorporate echo into this.
Thanks, (2 Replies)
Hi all,
some small script with eval turned me to crazy.
my OS is linux
Linux s10-1310 2.6.16.53-0.8.PTF.434477.3.TDC.0-smp #1 SMP Fri Aug 31 06:07:27 PDT 2007 x86_64 x86_64 x86_64 GNU/Linux
below script works well
#!/bin/bash
eval ssh remotehost date
eval ssh remotehost ls
below... (1 Reply)
DVIBOOK(1) General Commands Manual DVIBOOK(1)NAME
dvibook - rearrange pages in DVI file into signatures
SYNOPSIS
dvibook [ -q ] [ -s<num> ] [ -i infile ] [ -o outfile ] [ infile [ outfile ] ]
DESCRIPTION
Dvibook rearranges pages from a DVI file produced by TeX into ``signatures'' for printing books or booklets, creating a new DVI file usable
by any of the TeX conversion programs.
The -s option selects the size of signature which will be used. The signature size is the number of sides which will be folded and bound
together; the number given should be a multiple of four. The default is to use one signature for the whole file. Extra blank sides will be
added if the file does not contain a multiple of four pages.
Dvibook normally prints the page numbers of the pages rearranged; the -q option suppresses this.
AUTHOR
Angus Duggan, from dviselect(1), by Chris Torek, University of Maryland
SEE ALSO dviconcat(1), dviselect(1), latex(1), tex(1)
MC-TeX User's Guide
The TeXbook
BUGS
Dvibook does not adjust the parameters in the postamble; however, since these values are normally used only to size certain structures in
the output conversion programs, and the parameters never need to be adjusted upward, this has not proven to be a problem.
DVIBOOK(1)