Search Results

Search: Posts Made By: markhahn
Forum: Linux 02-11-2011
1,859
Posted By markhahn
a network switch may, optionally, have a...
a network switch may, optionally, have a management interface. such an interface may use public/private keypairs for authentication. some switch-like network devices may also use authentication to...
Forum: Programming 02-11-2011
22,469
Posted By markhahn
strtok is very 70's, and scanf can do the job...
strtok is very 70's, and scanf can do the job here. but slurping the line into a fixed-size buffer, for robustness, can still work:
#include <stdio.h>
int main() {
char...
Forum: Programming 02-11-2011
1,082
Posted By markhahn
no: see "Short-circuit evaluation" in...
no: see "Short-circuit evaluation" in wikipedia.
2,349
Posted By markhahn
use the right tool
I have to admit I'm pretty turned off by this kind of shell script - spawning way too many trivial processes to perform minor processing. for instance, in perl:

#!/usr/bin/perl
use strict;...
Showing results 1 to 4 of 4

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