Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

bash all arguments except last

array=${@:1:$#-1}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #bash #arguments
ADD COMMENT
Topic
Name
2+4 =