回答編集履歴

1

Update

2021/12/29 05:54

投稿

melian
melian

スコア20655

test CHANGED
@@ -1,25 +1,25 @@
1
- GNU find であれば `-printf` の `%P` オプション使いま
1
+ 以下、質問内容勘違していしたので無視して下さい
2
2
 
3
3
 
4
4
 
5
- **GNU find(1)**
6
-
7
- > `-printf format`
5
+ ~~GNU find であれば `-printf` `%P` オプションを使います。~~
8
-
9
- >
10
-
11
- > `%P` File's name with the name of the starting-point under which it was found removed.
12
6
 
13
7
 
14
8
 
15
- ```bash
9
+ ~~**GNU find(1)**~~
16
10
 
17
- $ find --version
11
+ ~~> `-printf format`~~
18
12
 
13
+ ~~>~~
14
+
19
- find (GNU findutils) 4.8.0
15
+ ~~> `%P` File's name with the name of the starting-point under which it was found removed.~~
20
16
 
21
17
 
22
18
 
23
- $ find tmp/ -printf '%P\0'
19
+ ~~$ find --version~~
24
20
 
25
- ```
21
+ ~~find (GNU findutils) 4.8.0~~
22
+
23
+
24
+
25
+ ~~$ find tmp/ -printf '%P\0'~~