All pastes #760716 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-11-04 07:11 UTC
rendered paste body
#!/bin/bash
#        for i in $( ls ); do
#            rename 's/ //' ./*
#        done
dirs=`ls -l | grep "^d" | awk '// {print $8}'`;
echo $dirs;
arg=2;
foo=(`echo $dirs | awk '// {print $'$arg'}'`);
echo $foo;