Hi All,
I need to create a script to process on 10 files.
Hi,
The blow code does not yeild any output.
Code:
find . -name "*.jar" -o -name "*.ksh" -o -name "*.properties" -name "*.war" -o -name "*.ear" -o -name "*.sh" -o -name "*.cfg" -exec ls -l {} \;
I wish to print the filename filesize filedate in HP-UX.
Can anyone help ?
Hi All,
Thanks in Advance
I am working on a shell script.
Hi All,
Thanks in Advance
I am working on a shell script.
Hello all, I am working on a python script and this is what i have
Code:
from sys import argv
script, filename = argv
print "We're going to erase %r " % filename
print "If you don't want that, hit Ctrl -C (^C)."
print "If you do want that, hit RETURN."
raw_input("?")
print "Opening the file..."
target = open(filename, 'w')
print "Tr
Hi,
I don't script often enough to know how to do this, and I can't seem to find a right example online. I have a csv output from an old, old system (Win2K???), from which I want to extract only certain fields.
Hi,
I have a file in the following format
Code:
"SYLVESTER,WILLARD G"|"S00633600"|"221052958A"|"H2256"|"015"|""|"00000042BASJ"|"665303"|"N"|"20100211"|"380.4"|""|""|""|"5400"|"20110218"|""|"20110218"|"FEESC&qu
Dear All
I am using the following shell script to extract the columns from the file.
<code>
for filename in *.rpt
do
awk -F"\t" '
BEGIN {OFS="|"} FNR > 0 {print $1,$2,$3,$5,FILENAME}
' $filename >> output.txt
done
</code>
However, the script works fine.
hello,
I'm writing a php script in fedora to run with a csv file. I want the script to read column 4 and multiply each single line in the column by 1000, how would that script look?