my first check is to search a pattern in column 2 of file patn.out and if first is true then check
whether variable $three is less than $six, if it is less than i want to write those lines to a flat file
From the above code, I can able to test whether it is less than or not but as we know it is displaying the output
which satisfied in first awk
Do we have single awk line to solve this? if so can you plz explain the command
Hi ,
could any one suggest me that how to determine if the first field is numeric and if it is greater than another number then from that point everything else should be printed using awk.
I have tried this
:
awk -v xxxx=$xxxxx '
BEGIN {
enable=0
}
{
print $1
if ( ( $1 !~ "^*$" ... (5 Replies)
hi
i hav files ha1j ha2m ha3n ha4q ha5s ...like tat im having some 20 files ..and i want to create a folder as the same amount of files which im having wen the condition if loop is satisfied ..
thank you (5 Replies)
Hi guys,
I desperately need your help on my problem:-
I got a folder in my directory that has many files in it. Most of the file's name is starting with certain prefix. Eg: ABC, CDE, EFG, etc. I only want to change file name that is starting from certain prefix and the rest I want them to... (1 Reply)
I am checking one until loop with the following logic
until ||
||||
do
sleep 30
done
before running this i am exporting above variables to SUCCESS.But the loop is running in infinite loop.My requirement is to make the loop run until
all the 3 variables are SUCCESS or any of the 3... (2 Replies)
Hi
I have to evaluate multiple conditions with an 'or'.
Here is an example:
if
when i use the above i get a error message
'
Please help me to know if i am missing something in the syntax.
how do i achieve multiple "or" in the same if condition.
Thanks. (11 Replies)
Executed the following if conditions .. and got different results .
only (( )) gave correct o/p with all scenarios .
Can anybody please let me know what is the difference between and ] and ((condition)) when used with if condition.
And why each condition gave different result.
1.... (2 Replies)
hi,
I have some problems in my simple script about the redirect echo stdout command inside a condition. Why is the echo command inside the elif still execute in the else command
Here are my simple script
After check on the two diff output the echo stdout redirect is present in two diff... (3 Replies)
HI
My doubt may be basic one but I need to get it clarified..
When i use "if" condition that checks for many AND, OR logical conditions
like
if ]; then
return 0
fi
Even the if condition fails it returns as zero.. Any clue..
But if i add else condition like
if ]; ... (2 Replies)
Discussion started by: Priya Amaresh
2 Replies
LEARN ABOUT DEBIAN
vala-gen-project
vala-gen-project(1) USER COMMANDS vala-gen-project(1)NAME
vala-gen-project - generate the and automake skeleton for your vala project
SYNOPSIS
vala-gen-project [OPTION...] [NAME]
DESCRIPTION
Vala project generator is a little gui or command line utility that creates an automake project skeletoni vala program.
It can be used without specifying a project name, so that a gtk+ gui will be presented or directly from the command line.
OPTIONS
-?, --help Show help options
-p, --projectdir=DIRECTORY Project directory
-t, --type=TYPE Project TYPE: gtk+, console
-l, --license=TYPE License TYPE: gpl2, gpl3, lgpl2, lgpl2.1, lgpl3, apache2, artistic
--version Display version number
-a, --author=NAME Author name
-e, --email=EMAIL Author email address
EXAMPLES
Create a gtk+ project with a gpl2 license and the name valatest
vala-gen-project -t gtk+ -l gpl2 valatest
EXIT STATUS
vala-gen-project returns a zero exist status if it succeed. Non zero is returned in case of failure.
AUTHOR
Andrea Del Signore (sejerpz (at) tin.it)
SEE ALSO valac(1)version 0.1.0 December 24, 2008 vala-gen-project(1)