我想知道如何处理来自某个文件夹 dir1 的文件,如果它们通过各种任务进行管道传输,最后我希望输出以相同的文件夹结构和文件名写入,即说我有 2 个文件;dir1/file1和dir1/file2。我想要以下命令:
task1 dir1/* | task2 | task3 --output dir2/${filename}
Run Code Online (Sandbox Code Playgroud)
输出dir2/file1,dir2/file2哪个应该代表处理过的文件。
我正在尝试在 Ubuntu 14.04 上安装 PCRE 8.37,但出现以下错误:
sudo ./configure && make && make install
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the …Run Code Online (Sandbox Code Playgroud)