7 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
2. Shell Programming and Scripting
I have the input as below:
032016002 2.891 97.109 16.605 27.172 24.017 32.207 0.233 0.021 39.810 0.077 0.026 19.644 13.882 0.131 11.646 0.102 11.449 76.265 23.735 16.991 83.009 8.840 91.160 0.020 99.980 52.102 47.898 44.004 55.996 39.963 18.625 0.121 1.126 40.189... (15 Replies)
Discussion started by: am24
I wonder string constant exists permanently or temporary.
the function printf access to it is through a pointer. Does it mean storage is allocated for the string constant to exist permanently in memory? :confused: (4 Replies)
Discussion started by: kris26
4. Shell Programming and Scripting
I have the files: xaa xab xac
and I try to paste them using $paste -d, xaa xab xac
When I type: $ paste -d, xaa xab xac |less
6e-124^M,0,007^M,0,026 (2 Replies)
Discussion started by: valente
5. Shell Programming and Scripting
I'm not sure how to best explain what I'd like to do, so let me give an example. I used to work in a department that deals with internet security. This department had an "internal" website (only people in the building can get on it) and an "external" website (anyone in the world can get on it --... (1 Reply)
Discussion started by: sstevens
I have a requirement to close all the file descriptors from 3 to 1024 for a particular application.
Right now, this is how I do it ..
for ( int i = 3 ; i <= 1024; ++i )
The change I am looking at is, I want to do away with the number 1024 and replace it with a constant which... (4 Replies)
Discussion started by: vino
here is my problem:
printf("value is %i",i);
when i compile and execute, nothing appears on screen!!
but if i replace the printf... (2 Replies)
Discussion started by: brain_processin