Login or Register to Ask a Question and Join Our Community

Search Results

Search: Posts Made By: Franklin52
3,237
Posted By Franklin52
Right, but the intention was to give an approach...
Right, but the intention was to give an approach how to accomplish his goal.

Regards
3,237
Posted By Franklin52
You can grep the parameters for a space, if you...
You can grep the parameters for a space, if you find a space the previous parameter is the output file, something like:

#!/bin/sh

for i in "$@"; do
if echo "$i" | grep ' ' > /dev/null 2>&1;...
Showing results 1 to 2 of 2

 

Featured Tech Videos