Try reading the man pages for printf. Here's an example...
Ygor,
I tried your suggestion as follows:
a=1
b=2
c=3
Printf ‘ M = %s Ohms X = %s Ohms T = %s %%' $a $b $c
The above format worked fine but when a Command Substitution is used to set the Variables, I noticed that it does not give the right output. I did the following:
#value of lrs = 710
lrs=`cat lrs`
#value of hrs = 910
hrs=`cat hrs`
#value of tp = 3
tp=`cat tp`
printf ‘\n\nM = %s Ohms X = %s Ohms T = %s %%\n\n\n' $lrs $hrs $tp
The output is:
%hms T = 310
The desired output should be:
M = 710 Ohms X = 910 Ohms T = 3 %
Hey guys,
Any chance of getting a thread under 'Special Interest Topics' for Interix/SFU? This has to be one of the most poorly documented pieces of software floating around and it works great for interoperability of windows systems with the rest of your unix/linux network rather than having to... (3 Replies)
Just installed SFU in my PC running under Windows XP Pro. Could someone tell us how to change directory and to its subdirectories either by Korn Shell or C Shell?
I tried, cd f:\ or chdir f:\ but it didn't work. (1 Reply)
I'm trying to ftp a file from Solaris to Windows XP Pro using SFU and the command that I used is as follows:
ftp -n “host” << cmd
user “loginname” “password”
cd Directory
ls filename error
bye
cmd
If the filename does not exist, it shows the following output:
Output to local-file:... (2 Replies)
hi guys
i am trying using this awk command which works perfectly on unix
awk '$1>=dt' dt="2007-12-03" filename
but when i run same command for same file under SFU it does nothing simply prints the file ( just like cat command ) i am not getting why ?
any way i used sed for same ( little... (5 Replies)
I am new in UNIX so pardon me if I am asking this question. We are using SFU in Windows to have a Windows folder mounted over UNIX. While we can see the mount, everytime i cd on the mounted folder (e.g. cd CONFIG) I always get Permission denies error. Does anyone know why I cannot go inside the... (11 Replies)
Hi all
How can I use ps command on korn shell emulated by SFU on Windows Server ?
All others commands work fine, but this one I don't know :confused:
Many thanks
---------- Post updated at 11:28 AM ---------- Previous update was at 10:12 AM ----------
Ok, it works fine in fact, I'm... (0 Replies)
Hi all
I have a problem again under Korn Shell with SFU.
If I use sqlplus.exe like this :
$ sqlplus.exe "/ as sysdba"
SQL*Plus: Release 9.2.0.1.0
SQL> select value from v$parameter where name='user_dump_dest';
VALUE
-------------------------------------------------------------... (9 Replies)
Hi, I support a small lab of older HP UX 9 and 10 boxes. We have some older NT 4.0 machines at each UX box, with a old ZFS Server programs hosting two mounted directories. (Each UX and NT machine is on its own private network via crossover cable). Due to hardware failure/support EOL on NT, I have... (3 Replies)
Hi all,
i am currently setting my windows XP environment to use with Services for Unix (NFS Client) to mount my unix file system as a network drive. However, though i could mount the unix file directory successful, but the folder is empty (which is not). Why is this so? i have imported my unix... (6 Replies)
Hi all,
When I execute ps command with SFU (Microsoft Windows Services for UNIX), the result is returned as an empty line.
Other commands will return correct results.
How can I get the result of ps command correctly?
Thank you. (2 Replies)
Discussion started by: tcx731
2 Replies
LEARN ABOUT DEBIAN
optimise
OPTIMISE(5) File Formats Manual OPTIMISE(5)NAME
optimise - output data file formats
DESCRIPTION
This manual page describes the output formats of the files created by the Yagi-Uda project's optimise program. The input files required for
optimise are plain ASCII which can be generated by input or first. or may be generated manually with a text editor, if care is used. The
format required by optimise is described in input(5). Optimise's output files, which have the .bes extension are the same format as the
input files and are again obviously described by input(5).
Example of a .up file.
The .up file list the improvements made by optimise to an antenna design. Starting from the original design, the file is appended each time
a new better design is found. Here is an example, where the final line is the performance of the 4 element beam with the .dat file shown
earlier.
1 7.57dBi, 16.93dB F/B, Z=(31.77-56.34j) Ohms, SWR=3.95, SL=16.95 dB
84 7.58dBi, 16.93dB F/B, Z=(31.78-56.32j) Ohms, SWR=3.95, SL=16.95 dB
623 7.58dBi, 16.93dB F/B, Z=(31.78-56.28j) Ohms, SWR=3.95, SL=16.95 dB
89345 9.74dBi, 103.06dB F/B, Z=(37.55 +1.61j) Ohms, SWR=1.33, SL=17.78 dB
What is what in the .up file
The first column is an integer specifying the iteration. The other columns, going from left to right are gain(dBi), FB, input impedance,
VSWR and level of the most significant sidelobe, in dB down on the peak gain.
SEE ALS0yagi(1), output(1), input(1), optimise(1), first(1), input(5), output(5) and yagi(5).
AUTHORS
Dr. David Kirkby G8WRB (david.kirkby@onetel.net), with help with converting to DOS from Dr. Joe Mack NA3T (mack@fcrfv2.ncifcrf.gov).
Version 1.16 24th October 2000 OPTIMISE(5)