Re: grep

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hello, 


> for file in content/en/blog/*.md; do
>   basefile=$(basename "$file" .md)
>   if [[ ! -e content/de/blog/"$basefile" ]]; then
>     echo "German is missing $basefile";
>   fi;
> done;
> 
> Perhaps?

Basename will not work cause the file name have different names in the
languages blog folder. Only date is what can be used at all because this
stand in header of every markdown field. 
 
> Maybe instead you're saying that the dates present in one language should
> also be present in another language? That would be a pretty different
> solution with which I'm happy to help if you indicate such a desire.

Yes the dates are ever present. 

-- 
Thank you & Nice day

Silvio

Attachment: pgpHwVkv4Juok.pgp
Description: PGP signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux