Search Results

Search: Posts Made By: wolf@=NK
4,239
Posted By bakunin
There is (at least) one syntax error in your...
There is (at least) one syntax error in your script. Look at the following, quoted from your post:


#[localuser@localhost ~]$ cat wk7.sh
!/bin/bash
#Read tabc.txt
tabc="cat tabc.txt"...
3,775
Posted By Chubler_XL
Try this: sed -e 's/^\([^ ]*\) *\([^ ]*\) ...
Try this:

sed -e 's/^\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\) *\([^ ]*\)/1stString (\1) 2ndWord (\2) 3rdWord (\3) 4thWord (\4) 5thWord (\5)/'

For files with spaces in their name...
1,438
Posted By zaxxon
There are several approaches possible. This way...
There are several approaches possible. This way you can leave out the cat-command. Try this:

while read LINE; do touch $LINE; done < extract.filenames.tabc
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 04:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy