Search Results

Search: Posts Made By: ntekupal
49,766
Posted By ntekupal
Hi Jaduks, That worked like a miracle. I...
Hi Jaduks,

That worked like a miracle.
I was struggling since y'day to change my whole script to do this by passing directory names to the script.

Your solution really made my work very...
16,585
Posted By ntekupal
Hi ZB, Thanks for your reply. It...
Hi ZB,

Thanks for your reply.
It definitely worked. But I have seen a problem there which I did not realize.

Basically what my script does is pick the files from these 2 folders as1 & as2 and...
16,585
Posted By ntekupal
Using ls on multiple directories
Hi,

I am using ls command as below to get the list of *.edi files from 2 different subdirectories as1 & as2:

/ntekupal/test$ ls ./as1/*.edi ./as2/*.edi

It is giving me list of edi files in...
49,766
Posted By ntekupal
I am new to unix so not sure about usage of...
I am new to unix so not sure about usage of xargs.
Can you please elaborate on that usage.

Thanks.
49,766
Posted By ntekupal
Using ls on multiple directories
Hi,

I am using ls command as below to get the list of *.edi files from 2 different subdirectories as1 & as2:

/ntekupal/test$ ls ./as1/*.edi ./as2/*.edi

It is giving me list of edi files in...
19,216
Posted By ntekupal
There I go. Here is the solution for my...
There I go.
Here is the solution for my problem.
I hope it helps someone who is new to Shell Scripting like me :p


#!/usr/bin/ksh
set -x...
19,216
Posted By ntekupal
Thanks for the reply but thats not working. Its...
Thanks for the reply but thats not working.
Its not doing any thing on the file.

Any help ?
19,216
Posted By ntekupal
Thanks for your reply. But I want to...
Thanks for your reply.
But I want to dynamically pick the characters from 4th and 106th position from the file.
19,216
Posted By ntekupal
Formatting a text file based on newline and delimiter characters
Hi Everybody,

I need some help on formatting the files coming into unix box on the fly.
I get a file some thing like this in a single line.


ISA^M00^M ^M00^M ...
9,238
Posted By ntekupal
Thanks dude. I think 'tr' is the better way of...
Thanks dude.
I think 'tr' is the better way of doing it.
9,238
Posted By ntekupal
SED to convert ~ in a file to newline
Hi,

I have a .txt file which has a tilde(~) in it.
All that I want is to break into a newline whenever there is an occurence of '~'.
I have tried SED to do that but I could not succeed.

I...
37,545
Posted By ntekupal
Thanks Jean. :) That worked liked a miracle.
Thanks Jean. :)
That worked liked a miracle.
37,545
Posted By ntekupal
0403-057 error `<' is not matched.
Hi Everybody,

I am new to this group and also to the Unix shell scripting.
I need some one to throw some light on this issue. I am not sure whats wrong in this script.When I execute this korn...
Showing results 1 to 13 of 13

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