Thanks for your reply, in last hour i was try the line you gave me because that line don't get me all files only fews. I'm new in script and after some trys i get this that work:
The problem is that there are some files that only have 1 column like this:
Quote:
ZINC03862582_0
ZINC03862582_1
In this case i DON'T whant the line because there are no value and the awk that i use give me always the low line how can i define the awk for only print the 1st column if there is value in the 2nd?
For what i read about awk i think the 1st part in your line
is for tell to the awk the tipe of the 2nd column right?
About the
i know this is "The Number of Records Variable" can you please tell me what this do?
My first post here...
I cannot get variables to work when using inline KSH commands on a "su" command. I have a KSH script, below, that produces my problem:
#!/usr/bin/ksh
su <user_id> <<-END
export FLD1=`echo $PWD`
pwd
echo $FLD1
echo TEST
echo $PWD
END
The script will prompt me... (3 Replies)
Hi, I'm trying to write a bash script to find some files. However it seems that the find command is not behaving the same way when the script is executed as it does when executed from the command line:
Script extract:
#!/bin/bash
...
NEW="/usr/bin/find current/applications/ -name '*jar'... (3 Replies)
Hi people,
i need you help on this if you can.
I have a script that does the move command when it searches for a that doesn't match the pattern. This Pattern is on a list.
When it run's and doesn´t found no files but it haves 2 more folders it moves the folders too.
Ex:... (1 Reply)
Following code is detecting solaris daytime,when I run it,I can't get any result,code is follows:
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define BUFFSIZE 150
int main(){
... (2 Replies)
I use Solaris 10, I use following code:
#include <signal.h>
int main(void){
printf("----------testing-----------");
if(signal(SIGUSR1,sig_usr)==SIG_ERR)
err_sys("can't catch SIGUSR1");
for(;;)
pause();
sig_user(int signo){
.....
}
when I run above code,it print nothing... (3 Replies)
Hello all!
I have problem in hp-ux 11.11 in awk
I want to grep sar -d 2 1 only 3 column, but have error in awk in hp-ux 11.11
Example:
#echo 123 234 | awk '{print $2}'
123 234
The situattions in commands bdf | awk {print $5}' some...
In hp-ux 11.31 - OK!
How resolve problem (15 Replies)
Hi all.
The startup script in /usr/local/bin.
After user login the script run an application.
Iwould in the same way run the another application.
How to make It similar?
Where I must to look?
Regards. (3 Replies)
Hi,
I installed solaris 10 x86 on my local system. it was working fine. today when i started the system, it started up without any problem. when i tried to open the terminal it didn't open any terminal.
Plz help me (0 Replies)
Hi,
I have a file with the following columns:
361459 447394 CHL1
290282 290282 CHL1
361459 447394 CHL1
361459 447394 CHL1
178352861 178363529 AGA
178352861 178363529 AGA
178363657 178363657 AGA
Essentially, using CHL1 as an example. For any line that has CHL1 in... (2 Replies)
Discussion started by: hubleo
2 Replies
LEARN ABOUT DEBIAN
scitools
SCITOOLS(1) General Commands Manual SCITOOLS(1)NAME
scitools - run a SciTools command
SYNOPSIS
scitools command [OPTIONS]
DESCRIPTION
The scitools script takes a command and runs a corresponding utility. The available commands are listed below.
file2interactive
Utility for taking a set of Python statements in a file and creating the corresponding interactive Python shell session.
floatdiff
Script for examining differences in regression tests involving floating-point numbers. Used in [1].
regression
Simple front-end script to SciTools' Regression module. Used in [1].
ps2mpeg
Utility for turning a set of PostScript files into an MPEG movie, using mpeg_encode or ppmtompeg.
profiler
Script for simplifying the execution of Python's profiling tools. Used in [1].
rename Script for renaming a set of files by substituting one string or regular expression with another.
subst Script for subsituting a phrase by another in a set of files. Accepts regular expressions. Treated in [1].
replace
Script for subsituting a phrase by another in a set of files. Does not use regular expressions, just plain text (well suited for
substituting text with much use of backslashes, curly braces, and other special characters in regular expressions (e.g., LaTeX
text).
movie Script for creating a movie file from a sequence of image files (frames). By default an HTML file for displaying the image (PNG)
files are made.
pyreport
Processes a Python script and pretty prints the results using LateX. If the script uses show() commands (from scitools.easyviz) they
are caught by pyreport and the resulting graphs are inserted in the output pdf. Comments lines starting with "#!" are interpreted as
rst lines and pretty printed accordingly in the pdf.
[1] H. P. Langtangen: Python Scripting for Computational Science. Third
edition, second printing. Springer, 2009.
OPTIONS -h, --help
Show usage for all commands and exit.
BUGS
Send comments, questions, bug reports etc. to scitools@googlegroups.com.
LICENSE
SciTools is licensed under the new BSD license.
AUTHOR
SciTools is written by Hans Petter Langtangen <hpl@simula.no>, Johannes Ring <johannr@simula.no>, Ilmar Wilbers <ilmarw@simula.no>, and
Rolv E. Bredesen <rolv@simula.no>. This manual page is written by Johannes Ring <johannr@simula.no>.
SCITOOLS(1)