8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i have a code in which when doing a for loop, i need to direct the output to two files, one just a single output, the other to always append (historical reasons).
So far i managed to do the following, which is working, but am still considering it as "dirty".
... (4 Replies)
Discussion started by: nms
2. Shell Programming and Scripting
I want to list files that end with .c in the direct subdirectory of the current directory. I have tried the following command:
find ./ -mindepth 2 -maxdepth 2 -name "*.c"
Is that right? Or is there any easier way to handle that problem?
Another problem is that I want to grep in a file to find... (5 Replies)
Discussion started by: Ray Sun
3. Shell Programming and Scripting
been scratching round the forums and my mountain of resources.
Maybe I havn't read deep enough
My question is not how sed edits a stream and outputs it to a file, rather something like this below:
I have a .txt with some text in it :rolleyes:
123:abc:987... (7 Replies)
Discussion started by: the0nion
4. Shell Programming and Scripting
Please help me in providing unix shell script for pulling data from mainframe dataset to unix using connect direct (NDM).
Thanks in advance (1 Reply)
Discussion started by: karthikm
5. Shell Programming and Scripting
Hi I have horrible script below, need help in renaming ls -l output into new filename format:
cp -pv original_path/.* newDirectory/owner_of_file.%dd%mm%y.file_extension.first_8_characters_of_original_filename
localuser@localuser:~ vi... (3 Replies)
Discussion started by: wolf@=NK
6. Shell Programming and Scripting
I have a pipe delimited file with 1 million records. I need to validate each line by counting the number of delimiters, if any line fails to have the specified number of delimiters, taat line has to be sent to a reject file.
if code provided, it is highly appreciated, and... (22 Replies)
Discussion started by: anandapani
If any one has idea regarding the link to download the following version of gdb HP gdb 3.2 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
Thanx & Regards...
P (1 Reply)
Discussion started by: Prajakta
is it possible to write files via write() to a socket and read it on the other side via read(), without going through buffers? Iif not via write() and read() are there other possibilities?
darkspace (5 Replies)
Discussion started by: darkspace