Bash ~ Perl ~ Python ~ Batch ~ Ruby
Sunday, 4 August 2013
Grepping particular limit of line in a file using shell script
declare -a x ;while read a; do echo $a | grep 99 && x=0; echo $a | grep 00 && x=1; if [ $x -eq 0 ]; then echo $a; fi; done < <(seq 10000)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment