repo.or.cz
/
cmdllinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
improve some other setuptool
[cmdllinux.git]
/
scripts
/
_print_char_column.sh
blob
f8e310281d88ba835c59954e98861260a10eca3b
1
2
FILE
=
$1
3
COLL
=
$2
4
COLL
=
$
(
expr
$COLL
-
1
)
5
IFS
=
$
'
\n
'
6
cat
$FILE
| \
7
while
read -r
line
;
do
8
echo
"
${line:$COLL}
"
9
done