Search Results

Search: Posts Made By: jagari
30,450
Posted By jagari
Thanks :) it's really very helpful. ...
Thanks :) it's really very helpful.

Regards,
Jagari

---------- Post updated at 10:25 AM ---------- Previous update was at 10:23 AM ----------

The while loop reads each filename and then...
30,450
Posted By jagari
Hi Methyl, Thanks, you identified the right...
Hi Methyl,

Thanks, you identified the right point.
The problem was with -

tot_rec_count=`wc -l ${common_path_in}/$i/*.csv | cut -f1 -d' '`



It worked correctly with $filename as you...
30,450
Posted By jagari
Error with expr - "expr: syntax error"
Hi All,

I'm writing a shell script in KSH, where I want to store the filename, total record count and actual record count of all the source files. The source files reside in 4 different...
1,813
Posted By jagari
Hi Methyl, Now I've edited the script in vi...
Hi Methyl,

Now I've edited the script in vi and have done this identation change that you've suggested.

I'm getting the below output and error message -

/interface_in/rsc...
1,813
Posted By jagari
Hi Methyl, Yes, I was editing the script in...
Hi Methyl,

Yes, I was editing the script in notepad/wordpad.
Please find attached the screenshot of 'sed' that you've suggested.

I'm pasting the output below:


#!/usr/bin/ksh\r$...
1,813
Posted By jagari
Echo is replacing characters
Hi All,
I'm using KSH and am writing a small script that counts the lines of various files in several folders under one root folder.

Below is the script:


#!/usr/bin/ksh...
Showing results 1 to 6 of 6

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