how to make a multiple string to single string in linux shell scripting -
am having string ("50342364232 , munish inspiring") when giving input taking 3 string in linux shell how make single string ? gave input ./filename "50342364232 , munish inspiring "
if invoke program ./program "50342364232 , munish inspiring"
, including quotes, interpreted single argument program
. however, if within program
call other-program $1
, when $1
expanded, expanded multiple arguments. work around that, want invoke other-program "$1"
, preserve single argument.
Comments
Post a Comment