Search Results

Search: Posts Made By: latsyrc
1,916
Posted By gokcell
Paste is one of the easy solution
Parse all of your required line to different file with awk and then join all of your file with the paste command. With the paste command you can use any kind of seperator also. In this example i used...
2,467
Posted By gokcell
awk '$1>=70'
Assume that your data1 is like that

45 Deney
78 Selam
101 Hi
25 Hello
1
2
3
4
5
67
8
9
125
122
20
30
40
50
2,467
Posted By Don Cragun
The scripts shown just write the extracted data...
The scripts shown just write the extracted data to standard output. The original data (datfile1 and datfile2) are not modified. If you want to save the output in files, try something like:...
2,467
Posted By Just Ice
somebody here could probably get this same code...
somebody here could probably get this same code done easier in ruby or perl or awk but this should at least get you started ...
#! /bin/bash
int=$1

PATH=/usr/bin:/bin:/usr/sbin:/sbin

cd /dir...
2,467
Posted By Don Cragun
Here are a couple of ways to do it: #!/bin/bash...
Here are a couple of ways to do it:
#!/bin/bash
echo 'processing datfile1 using while loop:'
while read x
do if [ "$x" -gt 16000 ]
then printf "%d\n" "$x"
fi
done <...
Showing results 1 to 5 of 5

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