本人小白,写了个简单的shell脚本:
#!/bin/sh
#this is a script that can replace character "|" to "\n"
#name: cc
#to call:cc < filename
tr '|' '\n' | cat -n
但是一执行就报错 cc:no input files
求解惑
本人小白,写了个简单的shell脚本:
#!/bin/sh
#this is a script that can replace character "|" to "\n"
#name: cc
#to call:cc < filename
tr '|' '\n' | cat -n
但是一执行就报错 cc:no input files
求解惑