Re: grep

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



Hi Silvio,

> How can I do the same in the other folders and all those that exist
> with the same date are hidden and when no file is present give out the
> file which is missing in other folders sort by date. The name of file
> is sure other, but the date is ever the same.

The requirement is unclear.  Given this input,

    $ grep ^ */*
    de/1.md:date: 2019-10-10
    de/2.md:date: 2019-10-12
    de/3.md:date: 2019-10-14
    de/4.md:date: 2019-10-16
    en/1.md:date: 2019-10-10
    en/2.md:date: 2019-10-12
    en/3.md:date: 2019-10-14
    en/4.md:date: 2019-10-16
    fr/4.md:date: 2019-10-16
    ru/3.md:date: 2019-10-14
    ru/4.md:date: 2019-10-16
    $

what output do you require?

-- 
Cheers, Ralph.



[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