sed append question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hey guys,
I am trying to make sed append every line containing a string with another line.
problem is the appended line needs to start with a tab:
# sed -i '/string/a \tstuff\t\t\tmorestuff' file
Obviously \t or \x09 etc doesn't get interpreted unless there are other characters
before it? How can I get this to begin with a <tab>?

Thanks!
jlc
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux