Search Results

Search: Posts Made By: shizik
2,595
Posted By shizik
thanks itkamaraj! but i forget about >> ...
thanks itkamaraj!

but i forget about >>

while read first second ; do echo $first $second | nawk '{for(i=$1;i<=$2;i++){print i}}' >> output.txt; done < test
2,595
Posted By shizik
thanks but... in test file I have: ...
thanks

but... in test file I have:


100 200
10 19
45 77
and it only generate me:

45
46
47
48
49
50
51
52
53
54
2,595
Posted By shizik
hohoho!!! this one is works but it...
hohoho!!!

this one is works
but it generate file.txt for each row

for example in test file I have
10 20
20 30

and it generates
1.txt which have
10
11
12
...
20
and second: 2.txt...
2,595
Posted By shizik
i have made test file just like you do and this...
i have made test file just like you do
and this script give these teletypes
2,595
Posted By shizik
syntax error on line 1, teletype syntax error...
syntax error on line 1, teletype
syntax error on line 1, teletype
syntax error on line 1, teletype
syntax error on line 1, teletype
syntax error on line 1, teletype
syntax error on line 1,...
2,595
Posted By shizik
hmmm my system didn't know command seq: (No...
hmmm
my system didn't know command seq: (No manual entry for seq.)

can you write me this script on awk?
2,595
Posted By shizik
no, it's not works i need that script or...
no, it's not works
i need that script or something else throw this numbers in another file

so, i have one file with ranges, and i need second file with this "answers" =)
2,595
Posted By shizik
Problem with ranges of numbers
Good day to everyone!

So, let's start :)

I have a file with a numbers in some ranges
for example:


1 10
49 72
...


and this file need to transform to:


1
2
3
4
3,434
Posted By shizik
hi you can use sed command for removing such...
hi

you can use sed command for removing such type of characters

cat filename | sed "/Desc/d;s/_//g;s/&//g;s/*//g;s/\,//g;s/\^//g;s/)//g;s/\\$//g;s/(//g;s/{//g;s/}//g"
1,025
Posted By shizik
awk programming
Good morning to everyone!

guys, help me please

I have a file like this one:


diamond 5 7.8
77777765 1 7
1234567890 9 3.5
diamond 2 1
1234567890 3 6.8
77777765 0 4
os Solaris

it's...
1,059
Posted By shizik
awk programming
Good morning!

guys, help me please

I have a file like this one:


diamond 5 7.8
77777765 1 7
1234567890 9 3.5
diamond 2 1
1234567890 3 6.8
77777765 0 4
os Solaris

it's only example,...
2,469
Posted By shizik
cat file_name | grep A.17 | sed "s/#...
cat file_name | grep A.17 | sed "s/# VERSION=//g"
2,469
Posted By shizik
funny =)))
funny =)))
2,619
Posted By shizik
whole line where the patterns are found
whole line where the patterns are found
2,619
Posted By shizik
experience =) thanks for the syntax, but...
experience =)
thanks for the syntax, but question was about something else
few records from 6th column:
77272588300
86232588300
12342588300
90842588300
...

many many combinations
and I...
2,619
Posted By shizik
thanks, but this file very BIG(>20 GB) I know...
thanks, but this file very BIG(>20 GB)
I know grep command, but it takes too much time
do you know how get these records by sed command?
2,619
Posted By shizik
Finding some records with sed command
Hi for all!

sorry guys for my dumb question, but I'm really need help
so,
we have file with many many fields, like this one:
201001002359 blablabla 87654321 201001002359 123,56 77272588300...
Forum: Programming 06-13-2010
1,521
Posted By shizik
2pseudocoder thanks a lot ---------- Post...
2pseudocoder
thanks a lot

---------- Post updated at 10:23 PM ---------- Previous update was at 10:21 PM ----------

2Tytalus
thanks a lot
2,280
Posted By shizik
2bartus11 thanks a lot
2bartus11
thanks a lot
2,280
Posted By shizik
2bartus11 no only awk and nawk
2bartus11
no
only awk and nawk
2,280
Posted By shizik
ok my system SunOS test01 5.10...
ok
my system
SunOS test01 5.10 Generic_138888-01 sun4u sparc SUNW,Sun-Fire-280R

an error:
awk: syntax error near line 1
awk: illegal statement near line 1
awk: syntax error near line 1
awk:...
2,280
Posted By shizik
nothing (((
nothing (((
2,280
Posted By shizik
2bartus11 not working
2bartus11

not working
2,280
Posted By shizik
transforming records
Hi all
In input file I have records like this:
0,1,0,87,0,0,"6,87","170,03",0,"43,5",0,0,0,0,"6,87","126,53" and in output file I need that these records transforms in :
0 1 0 87 0 0 6,87...
Forum: Programming 06-13-2010
1,521
Posted By shizik
sed problem
Hi all

In input file I have records like this:
0,1,0,87,0,0,"6,87","170,03",0,"43,5",0,0,0,0,"6,87","126,53"and in output file I need that these records transforms in :
0 1 0 87 0 0 6,87 170,03...
Showing results 1 to 25 of 30

 
All times are GMT -4. The time now is 09:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy