I have a project where I have to use bzcat to uncompress a file and use that output as the data to run another program on.
I understand that you would do (bzcat filename.bz2 ! program name) but then how do you access that data in the c program??? Please help thanks (2 Replies)
Does anyone know how to answer this? I have tried many different commands, I just cant get it right.....
Search the file 'data' for all of the lines that contain the pattern 'unx122'
and put those lines in the file 'matches'. (2 Replies)
I've got a very ugly pipeline for analyzing web server logs (but nevermind the application; I've come across this in other scripts as well). I want to nicely comment the steps in the pipeline, but I can't seem to do it.
I know, for instance that in csh/sh/bash, a # begins a comment, and any... (2 Replies)
Hi,
I am trying to calculate a few values using the below code but it dosent seem to be working.
for i in 1 2 3 4 5 6 7 8
do
j=`expr $i + 3`
x =`head -$j temp1|tail -1|cut -f24 -d","`
y =`head -$j temp1|tail -1|cut -f25 -d","`
c =`expr $x / $y`
echo "$c" >> cal_1
done
I am not... (4 Replies)
I need to read input from a file, and make sure nothing prints after column 72.
basically, ignore input after character 72 until the next newline character.
Any help is appreciated. I have been searching forever! (10 Replies)
Hello gurus - I must be missing something, or there is a better way - pls enlighten me
I'm on a Solaris 10 vm running the following pipeline to reduce some apache logs (actually lynx dumps of /server-status/ when threads are above a threshold) to a set of offending DDoS IP addresses.
awk... (10 Replies)
Hello All,
I need to convert a csv file to pipeline delimiter file in UNIX. The data in file itself contains comma with double qouted qualifier apart from the comma separator. Let me know how to do it. Appreciate any help if awk can be used to do it.
Mentioned below is the sample record of... (14 Replies)
Hello,
I am attempting to ssh to a server and run a set of commands on a remote set of servers. I am getting the following error below, I am thinking quotes may be the problem. This command works on the local machine in bash. Not when I ssh to a remote server. Basically the command should... (3 Replies)
hi this is a homework assignment i need some help with
it mostly works.
script file
#!/usr/bin/env bash
#create dictionary file
grep -E '.{3}' /usr/share/dict/british-english > db.txt
#create remove_word to test file
touch removeW.txt
#palindrome function
palin()
{
... (1 Reply)
Discussion started by: crepe6
1 Replies
LEARN ABOUT SUSE
transform
transform(1) GNU Triangulated Surface utils transform(1)NAME
transform - apply geometric transformations to the input.
SYNOPSIS
transform [OPTIONS] < file.gts
DESCRIPTION
This manual page documents briefly the transform command.
OPTIONS
This program follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included
below.
-r ANGLE, --rx=ANGLE
Rotate around x-axis (ANGLE in degrees).
-m ANGLE, --ry=ANGLE
Rotate around y-axis.
-m ANGLE, --rz=ANGLE
Rotate around z-axis.
-s FACTOR, --scale=FACTOR
Scale by FACTOR.
-R FACTOR, --sx=FACTOR
Scale x-axis by FACTOR.
-M FACTOR, --sy=FACTOR
Scale y-axis by FACTOR.
-N FACTOR, --sz=FACTOR
Scale z-axis by FACTOR.
-t V, --tx=V
Translate of V along x-axis.
-u V, --ty=V
Translate of V along y-axis.
-w V, --tz=V
Translate of V along z-axis.
-i, --revert
Turn surface inside out.
-o, --normalize
Fit the resulting surface in a cube of size 1 centered at the origin.
-v, --verbose
Print statistics about the surface.
-h, --help
Display the help and exit.
AUTHOR
transform was written by Stephane Popinet <popinet@users.sourceforge.net>.
This manual page was written by Ruben Molina <rmolina@udea.edu.co>, for the Debian project (but may be used by others).
June 2, 2008 transform(1)