datentraeger

geistige Umweltverschmutzung

vim in Scripts

March 12, 2013 Debian/GNU Linux vim

Anstatt sed oder awk kann auch vim in Scripts (jedoch ein bisschen umständlicher) eingesetzt werden.

Um zum Beispiel Zeile 10-12 zu kommentieren:

vim -c :10,12s/^/#/ -c wq test.txt

Mit -c werden die entsprechenden Commands mitgegeben….

wget unter Windows

Adieu Google Reader ?!

Search
Posts
  • Mehrere Audiospuren in ein Videofile
  • Printer offline nach SNMP Anpassungen
  • Ranger bulkrename
  • Puppet und +=
  • 300’000 zum zweiten !
Archives
Categories
Tags
3D-Printing Android Apple Arch Backup BBOS/QNX cli Database Debian/GNU Linux Docker foo.li FSFE git Gnome Gnusocial Groupware irc IT Java LaTeX lvm Mail Mobile Movies Multimedia Music Nonsense Office Packaging PHP Puppet Redmine SQL Think-About Uncategorized Vaping vim Virtualisierung Volvo Web Win WTF www-links X11 XMPP
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Blogroll
  • Datentraeger Pics
  • foo.li systeme + software
  • GnuSocial.li
Proudly powered by WordPress | Theme: Doo by ThemeVS.