9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi gurus/lead,
I have one doubt in crontab. I have shell script source code in one server. where I don't have priviliges acess R/W the shell script in that server.
how can I setup the crontab to pick the code from the other unix server ?
whether is there any possibility.
in my... (1 Reply)
Discussion started by: ramkumar15
1 Replies
2. Shell Programming and Scripting
Hi folks,
Friendly router geek wanting to be a programmer here...
So I worked with another guy here and came up with this to capture Unix admin data:
#!/bin/ksh
#
#
# Set Default Paths
#
PATH=/usr/apps/client/bin:$PATH; export PATH... (4 Replies)
Discussion started by: Marc G
4 Replies
3. UNIX and Linux Applications
I'd like to be able to do something like 'select column_a column_c column_b from file.csv'. Scripting it probably wouldn't be too extraordinarily difficult but I'd rather not reinvent the wheel if someone's built a better one already. (3 Replies)
Discussion started by: Corona688
3 Replies
4. UNIX for Advanced & Expert Users
hi experts,
i have a file
sample:
=======
000123 5 7 0008
00345 5 9 0004
how can i get an output as
123 5 7 8
345 5 9 4
thanks in an advance
subhendu (5 Replies)
Discussion started by: subhendu81
5 Replies
5. UNIX for Advanced & Expert Users
Hi Chaps,
Does anyone know of a source of proprietary unix utilities. I often fall into the trap of testing a spot of code on my linux machine, posting the answer in the forums and then realise that the solution may only work with the GNU utils that I use, and not standard posix ones (if there are... (4 Replies)
Discussion started by: wempy
4 Replies
6. UNIX for Dummies Questions & Answers
Hi,
Can anybody explain bc and wc system utilities in Unix?
Thanks (6 Replies)
Discussion started by: skyineyes
6 Replies
7. Shell Programming and Scripting
Hi,
My input file is like this
1 11110001 1.1.1.1.1
2 12222212 2.3.44.5.6
3 22223333 1.3.2.4.1.55
Now i need the 2nd column value get printed
I tried with the following command
awk 'NR==1 {print $2}' input
this works fine for only 1st row.I need to change always NR assigned value to... (10 Replies)
Discussion started by: jyo123.jyothi
10 Replies
8. HP-UX
Hi,
Can anyone tell me how i can know the version of the utilities (to be specific "make" and "ar") in HP-UX ver 11.00.
thanks,
abey. (3 Replies)
Discussion started by: abey
3 Replies
9. UNIX for Dummies Questions & Answers
I've noticed bzip2 gives a little bit better compression than gzip. So...I'm curious...what's gives the best compression out of all the compression utilities?
Thanks! (6 Replies)
Discussion started by: jalburger
6 Replies
platform(n) Tcl Bundled Packages platform(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform - System identification support code and utilities
SYNOPSIS
package require platform ?1.0.4?
platform::generic
platform::identify
platform::patterns identifier
_________________________________________________________________
DESCRIPTION
The platform package provides several utility commands useful for the identification of the architecture of a machine running Tcl.
Whilst Tcl provides the tcl_platform array for identifying the current architecture (in particular, the platform and machine elements) this
is not always sufficient. This is because (on Unix machines) tcl_platform reflects the values returned by the uname command and these are
not standardized across platforms and architectures. In addition, on at least one platform (AIX) the tcl_platform(machine) contains the CPU
serial number.
Consequently, individual applications need to manipulate the values in tcl_platform (along with the output of system specific utilities) -
which is both inconvenient for developers, and introduces the potential for inconsistencies in identifying architectures and in naming con-
ventions.
The platform package prevents such fragmentation - i.e., it establishes a standard naming convention for architectures running Tcl and
makes it more convenient for developers to identify the current architecture a Tcl program is running on.
COMMANDS
platform::identify
This command returns an identifier describing the platform the Tcl core is running on. The returned identifier has the general for-
mat OS-CPU. The OS part of the identifier may contain details like kernel version, libc version, etc., and this information may con-
tain dashes as well. The CPU part will not contain dashes, making the preceding dash the last dash in the result.
platform::generic
This command returns a simplified identifier describing the platform the Tcl core is running on. In contrast to platform::identify
it leaves out details like kernel version, libc version, etc. The returned identifier has the general format OS-CPU.
platform::patterns identifier
This command takes an identifier as returned by platform::identify and returns a list of identifiers describing compatible architec-
tures.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform 1.0.4 platform(n)