01-14-2012
Thanks. But that seems like some sort of shortcut for the actual problem. If the name is given all lowercase then what? Dont consider it a name at all actually. Just print first letter of all words in an input line. It would be a shell script that way.
Anyone?
2 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I have a requirement like i have to find out files and remove them on a daily basis.
The files are generated as
abc_jnfn_201404230004.csv
abc_jnfo_201404230004.csv
abc_jnfp_201404230004.csv
abc_jnfq_201404230004.csv
abd_jnfn_201404220004.csv
abe_jnfn_201404220004.csv
i want to... (1 Reply)
Discussion started by: Mohammed_Tabish
1 Replies
2. UNIX for Beginners Questions & Answers
I have this code that works great ...
#!/bin/sh
for file in "$@"
do
ext=${file##*.}
base=${file%.*}
num=${base##*v}
zeroes=${num%%*}
num=${num#$zeroes} #remove leading zeros, or it uses octal
num=$((num+1))
base=${base%v*}
... (5 Replies)
Discussion started by: scribling
5 Replies