lunedì 18 luglio 2011

A good link for ksh shell scripting .....

Today i want share an interesting Ksh shell scripting link :


My problem is divide, in a shell script, file name from path.

Solutions was this :

file="/CLASS_09/CPP/INPUT/A8/pippo"
filename=${file##*/}
dirname=${file%/*}

echo $filename
echo $dirname

Stay tuned.



Nessun commento:

Posta un commento

Best Free AI Video Mobile Apps

Hi all Today a simple ai post (generated by ChatGPT) about best AI Video mobile Apps : 🎬 The Best Free AI Video Mobile Apps You Should Try...