Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^5: (OT) Fixing Line Endings - patch the shell (kernel)

by Tanktalus (Canon)
on Nov 30, 2006 at 18:38 UTC ( #587029=note: print w/replies, xml ) Need Help??


in reply to Re^4: (OT) Fixing Line Endings - patch the shell (kernel)
in thread (OT) Fixing Line Endings

Just change that to:

if (isspace(*cp)) *cp = '\0';
Don't forget to #include <linux/ctype.h> up top, though, to get this macro...

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587029]
help
Chatterbox?
[Corion]: Ah, how I missed it. After some years, I revisit slashdot on a click-bait link, and it provides the usual humor instantly: "I didn't know Drupal had rules for sex. It must be a plug-in"
[Corion]: erix: This is not for sybase, but for the input data files, resp. their contents.

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2017-03-28 09:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (328 votes). Check out past polls.