Search Results

Search: Posts Made By: Madhusudan Das
Forum: Linux 08-20-2012
15,145
Posted By Madhusudan Das
Syntax error on multiple files script
Hi Don,
I have posted the separate script now I am using in POST#11.
1) code is coping files only :
#!/bin/bash
# copying MCE Repricing ASPRODUCTSUMMARY
cd...
Forum: Linux 08-20-2012
15,145
Posted By Madhusudan Das
syntax Error on Multiple files
Hi Don, Thanks for explaining how linux OS will behave on my previously provided coding. That's why it was giving so many errors.

Can you help me with the last peace, now I was able to run upto ...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
Methyle BASIC Specifications are : 1) Will copy...
Methyle BASIC Specifications are :
1) Will copy the data to a subfolder and rename them as .CSV files.
2) Delete all the lines from each file which are not having "ASPRODUCTSUMMARY" word in the...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
syntax Error on Multiple files
Hi Methyle,

Thank you for your concern and help man. I agree the script must be a disaster for sure.
The Specifications are :

1) Will copy the data to a subfolder and rename them as .CSV...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
syntax Error on Multiple files
Hi Don, I truly appreciate your help.
Here is the script I changed and have placed "$file" everywhere it was.
Script is working fine upto line 13 (where grep command is redirecting to newtemp.csv...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
syntax Error on Multiple files
Hi Don, Yes, that true I need to delete all lines from the file in current directory not having word "ASPRODUCTSUMMARY" on 15th position.
Also the thing you mentioned of the code line :
echo $files...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
syntax Error on Multiple files
First of all thank you so much for helping me RudiC and Don Cragon,

I changed the " " to $(), and quoted '^-':
Before :for i in "ls -l | grep ^- | awk '{print $9}'"
Now : for i in "ls -l | grep...
Forum: Linux 08-19-2012
15,145
Posted By Madhusudan Das
Ambiguous redirect error and syntax error when using on multiple files
Hi,

I need help on following linux bash script. When I linux commands for loop or while loop on individual file it runs great. but now I want the script to run on N number of files so it gives me...
Showing results 1 to 8 of 8

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