03-11-2011
command line util to convert mm to inches etc?
There must be a command line utility to convert metric -> us, mm to inches etc, but I don't remember seeing it. Any suggestions? Anything in the repositories? Thx.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Write a C shell script "in2ftcm" which uses arithmetic expansion to convert from inches to meters and centimetres, rounded down to the nearest whole number of centimetres. Input should be a whole number of inches, and you may assume. Explain your algorithm to determine the inches from the... (2 Replies)
Discussion started by: Ringo
2 Replies
2. Shell Programming and Scripting
Hello all
is there any way in unix to execute command in multithreaded way
without doing it in java or cpp
can one of the scripts handle multithread execution ?
i need to test server requests ( corba ) in multithread
Thanks (0 Replies)
Discussion started by: umen
0 Replies
3. HP-UX
Hi,
I'm creating a preventive maintenance script (automated) and I would like to get the cpu, mem, disk & network stats which you get when running glance as an output of a command so I can use it in my script
I made some progress though:
this is the command I use
glance -aos... (5 Replies)
Discussion started by: berre
5 Replies
4. Shell Programming and Scripting
Hello,
I have a text file with the following fields:
RecordNumber
Name
Email
Date
Notes
Confirmed
MailingList
The problem is that each field is on a separate line. These seven fields repeat for the length of the file. What I want to do is to have a bash script or similar unitil EOF... (6 Replies)
Discussion started by: vestport
6 Replies
5. Shell Programming and Scripting
Hi all,
I have a single line output like below
echo $ips
10.26.208.28 10.26.208.26 10.26.208.27
want to convert above single line output as below format. Pls advice how to do ?
10.26.208.28
10.26.208.26
10.26.208.27
Regards
Kannan (6 Replies)
Discussion started by: kamauv234
6 Replies
6. Shell Programming and Scripting
im trying to use this shellscript in one command line, but isnt working.
shellscript:
SERVER=ftp.site.com
USER=Foo
PASSW=3122
ftp -v -n $SERVER <<END_OF_SESSION
user $USER $PASSW
$FILETYPE
lcd /home/foo/mywebsite
mput *
mput *.*
bye
END_OF_SESSION
Im trying a lot of... (7 Replies)
Discussion started by: fbs777
7 Replies
7. Shell Programming and Scripting
I need to search the file using strings "Request Type" , " Request Method" , "Response Type" and by using result set find the xml tags and convert into a single line?. below are the scenarios.
Cat test
Nov 10, 2012 5:17:53 AM
INFO: Request Type
Line 1.... (5 Replies)
Discussion started by: laknar
5 Replies
8. Shell Programming and Scripting
HI Guys,
My Input :-
R3 AV44 50 0 100 100 100
R3 AV44 1 0 100 100 100
R3 AV45 50 0 100 100 100
R3 AV45 0 3 100 100 100
R3 AV45S 50 0 100 100 100
R3 AV45S 0 4 100 100 100
Output :-
R3 AV44 50 0 100 100 100 1 0 100 100 100
R3 AV45 50 0 100 100 100 0 3 100 100 100
R3 AV45S 50 0... (9 Replies)
Discussion started by: pareshkp
9 Replies
9. Shell Programming and Scripting
I have file contents
/tmp/x/abc.txt
/home/bin/backup/sys/a.log
I need this output:
/tmp/x/
/home/bin/backup/sys/
Can somebody please help me out
Please use CODE tags as required by forum rules! (3 Replies)
Discussion started by: jhonnyrip
3 Replies
LEARN ABOUT DEBIAN
pkglab
pkglab(1) USER COMMANDS pkglab(1)
NAME
pkglab - explore package repositories
SYNOPSIS
pkglab [OPTION]...
DESCRIPTION
Pkglab is an interactive, console-based environment to explore package repositories of package-based software distributions.
A pkglab session typically starts by loading a package repository in one of the different formats understood pkglab. Then, pkglab can check
given package combinations for co-installability according to inter-package relationships.
OPTIONS
-architecture architecture
Default architecture to use when accessing packages from a package repository. By default the current host architecture is used.
-history filename
Use the file filename to load and save command-line history. Defaults to $HOME/.pkglab-history.
-script filename
Execute commands from the file filename.
-merge waterway
Start by merging the archive found in waterway.
-help, --help
Display basic help information.
SEE ALSO
Pkglab can read package repositories in the dose format produced by ceve(1).
The non-interactive tools edos-debcheck(1) and rpm-debcheck(1) use the same algorithm as pkglab for checking installability of packages.
AUTHORS
Pkglab was written by Berke Durak and Jaap Boender for the EDOS and Mancoosi projects.
Version 1.4 April 20, 2009 pkglab(1)