Re: Bash Script regular expression

2012-02-10 Thread Lorenzo Sutton
Hi, On 10/02/12 08:30, Alejandro Rodriguez Luna wrote: Hi everyone, I was creating a script and i found something i can't figure out. #/bin/bash for i in $(cat certificates.txt) do echo $i done I expected this RSA Secure Server Certification Authority VeriSign Class 1 CA Individual Sub

Re: Bash Script regular expression

2012-02-10 Thread emmanuel segura
while read line; do echo $line done < rsa 2012/2/10 Alejandro Rodriguez Luna > Hi everyone, I was creating a script and i found something i can't figure > out. > > #/bin/bash > for i in $(cat certificates.txt) > do > echo $i > done > > I expected this > > RSA Secure Server Certifica

Bash Script regular expression

2012-02-09 Thread Alejandro Rodriguez Luna
Hi everyone, I was creating a script and i found something i can't figure out. #/bin/bash for i in $(cat certificates.txt) do      echo $i done I expected this RSA Secure Server Certification Authority VeriSign Class 1 CA Individual Subscriber-Persona Not Validated but i got this RSA Secure