Search Results

Search: Posts Made By: regexnub
6,761
Posted By agama
Try #!/usr/bin/env ksh "$@" ...
Try


#!/usr/bin/env ksh
"$@"


This should preserve any quoting that was done on the original command line. Assuming Ksh; bash might but untried.
6,761
Posted By Yogesh Sawant
quoting from the Advanced Bash-Scripting Guide ...
quoting from the Advanced Bash-Scripting Guide

refer to their example (http://tldp.org/LDP/abs/html/internalvariables.html#ARGLIST) for more details
3,793
Posted By DeCoTwc
Well I'll be a son of a something else...fixed...
Well I'll be a son of a something else...fixed it.

(01:18:49\[D@DeCoBox15)
[~]$ ./mysolution input > my_results

(01:19:05\[D@DeCoBox15)
[~]$ sdiff expected_results my_results
Joe Smith...
3,793
Posted By bartus11
awk '{n=split($5,a,";");for(i=1;i<=n;i++){print...
awk '{n=split($5,a,";");for(i=1;i<=n;i++){print $1,$2,$3,$4,a[i]}}' infile > outfile
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 12:44 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy