Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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...


Comment on Re^5: (OT) Fixing Line Endings - patch the shell (kernel)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587029]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2015-05-03 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    In my home, the TV remote control is ...









    Results (75 votes), past polls