[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug reports
From: |
李亮 |
Subject: |
Bug reports |
Date: |
Wed, 29 Jan 2020 23:26:37 +0800 (CST) |
Hi,
I executed two commands
1
find /mnt/src -mindepth 3 -maxdepth 3 -type d -exec echo `echo {} | sed
's/\/mnt\/src\//&\.\//'` \;
The output is
/mnt/src/1001/202001/20200101
/mnt/src/1001/202001/20200102
/mnt/src/1001/202001/20200128
2
find /mnt/src -mindepth 3 -maxdepth 3 -type d -exec echo `echo
/mnt/src/2001/202001/20200128 | sed 's/\/mnt\/src\//&\.\//'` \;
The output is
/mnt/src/./2001/202001/20200128
/mnt/src/./2001/202001/20200128
/mnt/src/./2001/202001/20200128
The second command is the format of the output I want, which I'm not sure is a
bug or my usage error.
Looking forward to reply.
In addition, my English proficiency is limited. This is the translation
generated by the translation tool. Please forgive me if there are any
inaccuracies.
--
李亮
手机:18803738298,15303736881
address@hidden
--
读万卷书,行万里路。