Search Results

Search: Posts Made By: jao_madn
Forum: Hardware 05-16-2012
3,186
Posted By Corona688
Don't go by the brand, go by the chipset. Intel...
Don't go by the brand, go by the chipset. Intel is going to be Intel, obviously. D-link is probably going to be Realtek, which has never been famous for performance or reliability -- just price. ...
2,116
Posted By Scrutinizer
If your grep knows "-o", you could try something...
If your grep knows "-o", you could try something like:
grep -o 'watch?v=[^&;]*'
1,103
Posted By Franklin52
Call the function with the parameters of the...
Call the function with the parameters of the script to use them as $1, $2....in your function.
command2 "$1" "$2"
5,489
Posted By Corona688
How did the 'visual alarm' work? Did it pop up a...
How did the 'visual alarm' work? Did it pop up a window? Usually you're not able to do that without an actual login, something cron doesn't give you, but it might be arranged by other means.
9,076
Posted By Scott
According to the man page for bash: set...
According to the man page for bash:


set -o <option>
...
errexit Same as -e.
...


Why not just try it?


[root@vb1 bin]# set -e
[root@vb1 bin]# ls blah
ls: cannot access blah: No...
3,745
Posted By danmero
What about fduppes...
What about fduppes (http://netdial.caribe.net/~adrian2/fdupes.html)
3,745
Posted By Chubler_XL
Sorry, I tested it on a system that has a space...
Sorry, I tested it on a system that has a space in the group name so my field numbers were out.

New version works by getting size as 4th-last field, so should be much more robust. During testing...
3,213
Posted By danmero
# cat file 1 2 3 4 a b c d 9 ...
# cat file
1
2
3
4
a
b
c
d
9
8
7
6
# awk '{_=(_==4)?1:_+1;x[_]=x[_]?x[_] t$0:$0}END{for(y=z;y++<_;){print x[y]}}' t=\\t file
1 a 9
2 b 8
3 c 7
4 ...
11,945
Posted By Scott
So it does! Who'd have thunk it? I still...
So it does! Who'd have thunk it?

I still think you need the $, though.


if( $status == 0 ) then
Showing results 1 to 9 of 9

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