[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Bug in my shell script
- From: "Jasper Jans" <jjans bio vu nl>
- To: <guinness-list redhat com>
- Subject: RE: Bug in my shell script
- Date: Fri, 30 Mar 2001 00:19:13 +0200
| -----Original Message-----
| From: guinness-list-admin@redhat.com
| [mailto:guinness-list-admin@redhat.com]On Behalf Of Rodolfo J. Paiz
| >#!/bin/sh -x
|
| What does the -x do?
Echo's every line back to the screen while executing the script - it's
a debug option.
| >if [ $# -eq 0 ]; then
| > echo "Usage: $0 <expression>";
| > exit;
| >fi
|
| Thanks; I didn't know how to do that. :)
Ur welcome ;)
| You have 'sed s/*.sts//g'
| ^
| Why is that dot there? I would have thought that * for wildcard would not
| need the dot.
See my previous mail - as stated in there - my regex might be off but I
believe
*. matches all chars.
J.
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]