Search Results

Search: Posts Made By: Scott
1,948
Posted By Scott
Perhaps you could just replace the grep command...
Perhaps you could just replace the grep command with:


sed -n "/Album/s#/#_#gp"

to replace the / characters with _ characters?

To your question about Elvis! It's a function of your shell....
1,948
Posted By Scott
What's with all the pipes? You want to create...
What's with all the pipes? You want to create directories that have quotes in the names?


grep Album initial_output | while read ALBUM; do
mkdir "${ALBUM/Album: /}"
done
1,948
Posted By Scott
for treats things as words: (from ksh man...
for treats things as words:

(from ksh man page)


for vname [ in word ... ] ;do list ;done
Each time a for command is executed, vname is set to the next word taken from...
Showing results 1 to 3 of 3

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