this little Applescript code to shell script

Hi!

Its possible do this applescript in shell script (Some program to convert or something)?


on run {input, parameters}	
	tell application "Path Finder"
		set selection_list to selection
		repeat with one_item in selection_list -- one_item is a fsItem (fsFile or fsFolder)
			set a_path to POSIX path of one_item -- gets a posix path
		end repeat
	end tell	
	return a_path
end run

Thanks