rrs@learner:~$ rm -fooThis feature really wasn't earlier and if you ever ended up with files starting with characters like "-", it was not a straight task to remove it.
rm: invalid option -- o
Try `rm ./-foo' to remove the file `-foo'.
Try `rm --help' for more information.
rrs@learner:~$ cat rm.pyI'm really happy to see this bug fixed. rm — -foo
#!/usr/bin/env python
import os, sys
sys.stdout.write("Removing file %s.\n" % (sys.argv[1]) )
os.unlink(sys.argv[1])
à¤à¤œà¥€à¤· जà¥à¤à¥à¤² (URL) - 01 July '07 - 22:06
Just noticed your blogging software doesn’t support UTF-8.Ashish Shukla (URL) - 01 July '07 - 22:08
I’ve changed it to UTF-8 now.Ritesh Raj Sarraf - 02 July '07 - 22:28
Cool and its working. Thanksआशीष शुक्ल (URL) - 02 July '07 - 22:32
Trackback link:
Please enable javascript to generate a trackback url