`awk '/fileid/,/^-----/' logfile | grep specificdata` #### sh[2]: 0403-057 Syntax error at line 2 : `|' is not expected.